SQL 服务器 - 如何向上或向下舍入小数?
SQL Server - How to round up or down decimals?
我希望能够向上或向下舍入 10.823。预期结果:
rounding down = 10.82
rounding up = 10.83
知道round(10.823, 2)
才四舍五入。如何取整?
我希望能够向上或向下舍入 10.823。预期结果:
rounding down = 10.82
rounding up = 10.83
知道round(10.823, 2)
才四舍五入。如何取整?