CEILING Function

The CEILING function returns the smallest integer that is not less 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 CEILING
Usage model CEILING ( ⟦n:NUM⟧ ) 
Parameters This function requires you to replace only one parameter:

n: NUM

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


The following script would set nu2 to 16:

SET nu2 TO CEILING ( 15.8 )