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