INT( ) Function
Evaluates a numeric expression and returns the integer portion of the expression.
INT(nExpression)
Return Values
Numeric
Parameters
- nExpression
Specifies the numeric expression for which INT( ) returns the integer portion.
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