Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the nearest integer that is less than or equal to the specified numeric expression.
FLOOR(nExpression)
Return Values
Numeric
Parameters
- nExpression
Specifies the numeric expression for which FLOOR( ) returns the nearest integer that is less than or equal to the numeric expression.
Example
STORE 10.9 TO gnNumber1
STORE -10.1 TO gnNumber2
CLEAR
? FLOOR(gnNumber1) && Displays 10
? FLOOR(gnNumber2) && Displays -11
? FLOOR(10.0) && Displays 10
? FLOOR(-10.0) && Displays -10
See Also
CEILING( ) | INT( ) | ROUND( )