📅  最后修改于: 2022-03-11 14:44:49.525000             🧑  作者: Mango
代码示例2
value = round( value * 100.0 ) / 100.0; // 2 decimal places
value = round( value * 1000.0 ) / 1000.0; // 3 decimal places