我想获得如下所示的舍入值。
round (1.4) = 1 round (1.5) = 1 round (1.6) = 2
如何使用 Java 代码将 (1.5) 轮的结果变为 1 而不是 2?
java math rounding
java ×1
math ×1
rounding ×1