Why does Remix say int256 returned when my function returns int?

Viewed 69

Getting a price feed and returning int in my function however Remix is showing the value as int256 when I call the view function. Why is this?

Solidity Remix Price Feed Example Solidity Remix Price Feed Example

2 Answers

256 is the default length if no length is specified

Related