Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Ceil(x)

postgres=# -- ceil(x): Returns the smallest whole integer not less than argument (rounds up) postgres=# SELECT ceil(1.0);  ceil ------     1 (1 row) postgres=#