Java向上保留两位小数

setScale(2, BigDecimal.ROUND_UP)

例如:0.035 运算结果 为0.01

原文地址:https://www.cnblogs.com/once/p/3523942.html