标签: sql-server math floating-point
假设我正在将64位浮点双插入DECIMAL(17,5)字段。值是否被舍入或截断?
答案 0 :(得分:5)
圆了:
select cast(9.12345 as decimal(10,4))
返回9.1235
9.1235