方法类/包返回类型说明适用场景Math.round()java.lang.Mathlong或int标准四舍五入,.5向上取整,返回整数类型,需要将浮点数转换为最接近的整数时,BigDecimaljava.math.BigDecimal...