floor(dp or numeric) largest integer not greater than argument : floor « Math Functions « PostgreSQL






floor(dp or numeric) largest integer not greater than argument


postgres=# -- floor(dp or numeric) largest integer not greater than argument
postgres=#
postgres=# select floor(-42.8);
 floor
-------
   -43
(1 row)

postgres=#
postgres=#
           
       








Related examples in the same category

1.floor(x): Returns the largest whole integer not greater than x (rounds down)