BigDecimal类型的数据如何判等

用compareTo方法判断BigDecimal类型的数据是否相等,而不要用equals。

猜你喜欢

转载自blog.csdn.net/weixin_38106322/article/details/111344294
今日推荐