MSSQL ~ ROUND

SELECT ROUND(0.5555555, 2)
output 0.56


SELECT ROUND(0.5555555, 0)
output 1


SELECT ROUND(0.45, 1)
output 0.5


SELECT ROUND(0.34, 1)
output 0.3

沒有留言: