ceil(dp or numeric) smallest integer not less than argument : ceil « Math Functions « PostgreSQL






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=#
           
       








Related examples in the same category

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