FLOOR Function

The FLOOR function returns the largest integer that is not larger than the number value you specify.

This function is useful for rounding a number with a decimal value for use where decimals are not appropriate.

Function name FLOOR
Usage model FLOOR ( n:NUM ) 
Parameters This function requires you to replace only one parameter:

n: NUM

The function finds the nearest number smaller or equal to this number value.
Result A number value.


The following script would set nu2 to 15:

SET nu2 TO FLOOR ( 15.8 )