DecimalFormat df= new DecimalFormat("######0.00"); df.format(double);
精确到小数点后2位
BigDecimal()内带String型以String为精准度,带double需自设精准度。