411 REFERENCE · Wikibooks
Futurebasic/Language/Reference/int
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
INT
Function
Appearance Standard Console
Syntax
nearestInteger& = INT(expr#)
Description
Returns 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
FIX, FRAC