INT

From Smart Box
Jump to navigation Jump to search

Syntax[edit]

INT

Description[edit]

The function INT returns the integer part of any numeric expression passed to it.

Example[edit]

PRINT INT 2.45

Return the Integer part of variable X, where X has been assigned a numeric value using the LET command.

PRINT INT X