Quick Ref.
Functions
date
number
string
Data Types
date
number
string
Compatibility
CEIL(f)
Engine OK Alternative
mysql yes
oracle yes
postgres yes
sqlserver no -FLOOR(-f)

CEIL

CEIL(f) is ceiling, it returns the integer that is equal to or just more than f

CEIL(f) give the integer that is equal to, or just higher than f. CEIL always rounds up.

CEIL(2.7)  ->  2
CEIL(-2.7) -> -3
In this example we calculate the population in millions.

Results
See also: