.. _ceil: CEIL ==== +----------+-------------------------------------------------------------------+ | Syntax | CEIL (x) | +----------+-------------------------------------------------------------------+ | Location | Math Package | +----------+-------------------------------------------------------------------+ The function CEIL returns the closest integer to x which is greater than or equal to x (the 'ceiling' of x). Compare INT which returns the next integer which is less than or equal: CEIL(12.75)=13 INT(12.75)=12 CEIL(-2.3)=-2 INT(-2.3)=-3 CEIL can handle numbers in the range -32768