INT

From Smart Box
Revision as of 19:23, 6 October 2023 by Benryves (talk | contribs) (Created page with "== Syntax == INT == Description == The function INT returns the integer part of any numeric expression passed to it. == Example == 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 Category:Reference Category:Procedure")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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