Back to Code Snippets


Rounding integer numbers with trailing zerosSQL

Execute this SQL

select round(2061899,-6); -- 2000000.0

Copy code

Michael Hunger

Copy code

Expand

Share link