Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Ceiling(dp or numeric) smallest integer not less than argument (alias for ceil)

postgres=# -- ceiling(dp or numeric) smallest integer not less than argument (alias for ceil) postgres=# postgres=# select ceiling(-95.3);  ceiling ---------      -95 (1 row) postgres=#