方法之一: 当保留小数点后2位时: java.text.DecimalFormat df = new java.text.DecimalFormat("#.00");java.text.DecimalFormat d 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交