select ROUND(12.4999,-1) (Minus) : ROUND « Math Functions « SQL Server / T-SQL Tutorial






4> select ROUND(12.4999,-1)
5> GO

--------
 10.0000

(1 rows affected)
1>








11.18.ROUND
11.18.1.Rounds a value to the number of decimal places specified in the second parameter.
11.18.2.Rounding present value to two decimal places.
11.18.3.select ROUND(12.5,0)
11.18.4.select ROUND(12.4999,0)
11.18.5.select ROUND(12.4999,1)
11.18.6.select ROUND(12.4999,-1) (Minus)
11.18.7.select ROUND(12.5,0,1)
11.18.8.SELECT ROUND(3.22245, 3) RoundedNumber
11.18.9.ROUND(salary * 1.1, 2)