INT - DualBrain/bsharp GitHub Wiki

To truncate an expression to a whole number.

Syntax

INT(x)

Comments

Negative numbers return the next lowest number. The FIX and CINT functions also return integer values.

Example

PRINT INT(98. 89)
 98
PRINT INT(-12. 11)
 -13