需求
1.00 --> 1
1.11 --> 1.11
new BigDecimal(1.00).setScale(2, RoundingMode.HALF_UP).stripTrailingZeros().toPlainString();
new BigDecimal(1.11).setScale(2, RoundingMode.HALF_UP).stripTrailingZeros().toPlainString();
1.00 --> 1
1.11 --> 1.11
new BigDecimal(1.00).setScale(2, RoundingMode.HALF_UP).stripTrailingZeros().toPlainString();
new BigDecimal(1.11).setScale(2, RoundingMode.HALF_UP).stripTrailingZeros().toPlainString();