CEIL

Previous  Next

 

int = CEIL( number AS REAL ) AS INTEGER

 


 

Returns the least integer not less than a number

 

Example:

 

IF CEIL( 123.123 ) = 124 THEN

  PRINT "Crappola :-(",

ENDIF