SELECT round(4, 4) : round « Math Functions « PostgreSQL






SELECT round(4, 4)


postgres=# SELECT round(4, 4);
 round
--------
 4.0000
(1 row)

postgres=#
           
       








Related examples in the same category

1.round(x): Returns x rounded to the nearest whole integer
2.round(x, s): Returns the value of x, optionally rounded to s decimal places