top of page
CerebroSQL

MySQL: 

CEILING

Syntax:
CEILING(X)

Returns the smallest integer value not less than X.

Example

mysql> SELECT CEILING(1.23);
-> 2
mysql> SELECT CEILING(-1.23);
-> -1

bottom of page