Futurebasic/Language/Reference/int
(Redirected from Futurebasic/language/reference/int)
INT
editFunction
editAppearance Standard Console
Syntax
editnearestInteger& = INT(expr#)
Description
editReturns the value of expr# rounded to the nearest integer. Note: INT returns a "long integer" value, which means that expr# should be within the range -2147483648 through +2147483547. To obtain the integer part of numbers which are outside this range, use the FIX function. (Note however that FIX truncates the fraction part rather than rounding to the nearest integer. In general, FIX and INT don't return the same values.)
See Also
editFIX, FRAC