INT( number )
Truncate an expression to the next whole number less than or equal to the argument. For example 9.89 will return 9 and -2.11 will return -3. This behavior is for Microsoft compatibility, the FIX() function provides a true integer function.
PRINT FIX(12.6)
12
PRINT FIX(-12.6)
-12
PRINT INT(12.6)
12
PRINT INT(-12.6)
-13
See also:
ABS
CINT
EXP
FIX
SGN
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Leave a Reply