Register now or log in to join your professional community.
Both returns the integer portion of a number.
Both Int as well as Fix functions will return the integer part of a decimal number.
But if the decimal number is negative then,
For e.g. Int(9.) =9 and Fix(9.) =9
but Int(-9.) = - and Fix(-9.) = -9
The 'Int' function returns the first negative integer less than or equal to number, whereas 'Fix' function returns the first negative integer greater than or equal to number.
The difference between int and fix functions is that if Number is negative, int returns the first negative integer less than or equal to Number, where as fix returns the first negative integer greater than or equal to Number
Brifely:1.3 is returned as1 by Int function and returned as2 by Fix function