Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Ceil(dp or numeric) smallest integer not less than argument

postgres=# postgres=# -- ceil(dp or numeric) smallest integer not less than argument postgres=# postgres=# select ceil(-42.8);  ceil ------   -42 (1 row) postgres=#