INT |
Top Previous Next |
Syntax integer = INT(num) Description Converts a floating point value to an integer. Parameters num - A DOUBLE or FLOAT Return value If num is a DOUBLE then the return is an INT64 otherwise an INT. Remarks INT truncates the decimal portion. This behavior is different than assigning a floating point value to an integer variable where the rounding mode will return the largest integer. Example usage PRINT INT(1.56) |