摘要: public class TestBigDecimal { public static void main(String[] args) { double d1 = 1.0; double d2 = 0.9; System.out.println(d1 - d2); // 0.09999999999 阅读全文
posted @ 2021-08-01 16:02 脉望 阅读(75) 评论(0) 推荐(0) 编辑