摘要: 比如 System.out.println(0.14*100); 输出: 14.000000000000002 解决方法: BigDecimal b = new BigDecimal(String.valueOf(0.14)); BigDecimal c = new BigDecimal(Strin 阅读全文
posted @ 2020-01-09 10:12 以德为先 阅读(5541) 评论(0) 推荐(1) 编辑