INT

Syntax

INT number

Explanation

INT outputs the integer portion of its input by removing the decimal portion, if any. No rounding occurs.

See also ROUND.

Examples

? INT 2.345

Result: 2

? INT 2.789

Result: 2

? INT 57.999

Result: 57

?