ceil(1.1), ceil(1.5) : ceil « Math Functions « PostgreSQL






ceil(1.1), ceil(1.5)


postgres=# select ceil(1.1), ceil(1.5);
 ceil | ceil
------+------
    2 |    2
(1 row)

postgres=#
           
       








Related examples in the same category

1.ceil(dp or numeric) smallest integer not less than argument
2.ceiling(dp or numeric) smallest integer not less than argument (alias for ceil)
3.ceil(x): Returns the smallest whole integer not less than argument (rounds up)