第一种:
Double a=0.06;
Double b=0.01;
BigDecimal addend = BigDecimal.valueOf(a);
BigDecimal augend = BigDecimal.valueOf(b);
--
第二种
Double a=0.06;
Double b=0.01;
BigDecimal addend = new BigDecimal(a.toString());
BigDecimal augend = new BigDecimal(b.toString());