Evaluates a numeric expression and returns the integer portion of the expression.
INT(nExpression) |
Parameters
- nExpression
- Specifies the numeric expression for which INT(В ) returns the integer portion.
Return Value
Numeric
Example
В | Copy Code |
---|---|
CLEAR ? INT(12.5) && Displays 12 ? INT(6.25 * 2) && Displays 12 ? INT(-12.5) && Displays -12 STORE -12.5 TO gnNumber ? INT(gnNumber) && Displays -12 |