bigdecimal比较

source.compareTo(BigDecimal.ZERO)==0,可以比较是否等于0,返回true则等于0,返回false,则不等于0

  

原文地址:https://www.cnblogs.com/lucky-jun/p/15043956.html