From QB64 Wiki
Revision as of 20:52, 24 December 2009 by imported>Stylin (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The following table describes the rounding operations, where n is an operand:

Operation Description
INT(n) Returns the greatest integer less than n (rounds to negative infinity).
FIX(n) Returns the integer closest to zero from n (rounds to zero).
_ROUND(n) Returns the integer closest to n (rounds half away from zero).