A = new BigDecimal(0); B = new BigDecimal("0.00"); A.equals(B) = false; A.compareTo(B) = 0; 奇怪 转载于:https://www.cnblogs.com/ze2200/p/3302445.html