标签: sql sql-server tsql
我想用0.5步舍入小数值:
示例:
declare @value = 6.7 round (@value, 1, 2) as new
所有值应为:
if 6.7 should return 6.5 if 6.9 should return 6.5 if 6.4 should return 6 etc.