INT( ) Function
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
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
See Also
Reference
CEILING( ) Function
FLOOR( ) Function
ROUND( ) Function