This is an old revision of the document!
Table of Contents
FLOOR
The FLOOR()
(previously: INT()
) function returns the integer part of a floating point value, also as a floating point number.
Function header
DECLARE FUNCTION INT AS FLOAT (num AS FLOAT) SHARED STATIC INLINE
Example
PRINT INT(3.14159) : REM outputs 3
Note
To convert a floating point number to integer type, see CINT.