This is an old revision of the document!


Table of Contents

INT

The INT() function returns the integer part of a floating point value, as floating point.

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.