bigdecimal比较大小
转载链接:https://zhidao.baidu.com/question/296052164.htmlBigDecimal b= 1;b.compareTo(BigDecimal.Zero) == 1 //大于b.compareTo(BigDecimal.Zero) == 0 //等于b.compareTo(BigDecimal.Zero) == -1 //小于----------------------------------------------------b.compareT