Answer: Both of them returns integer part of the provided number. Difference lies, how they deal with the negative numbers.
Fix returns the first negative integer greater than or equal to provided Number while Int returns the first negative integer less than or equal to provided Number.
For an example,
Int(-99.2) ' Returns -100.
Fix(-99.2) ' Returns -99.
Asked In: Many Interviews |
Alert Moderator