BigDecimal 结果保存百分比
public static void main(String[] args) { BigDecimal a = new BigDecimal(10); BigDecimal b = new BigDecimal(3); BigDecimal divide = a.divide(b, 2, BigDecimal.ROUND_HALF_UP); System.out....