摘要: double b=1.23456789128E8DecimalFormat df = new DecimalFormat("0.00");//精度自己控制保留几位小数点 String c= df.format(b); System.out.println(c);输出123456789.13 阅读全文
posted @ 2019-05-19 23:39 TracyRanch 阅读(2473) 评论(0) 推荐(0) 编辑