摘要: Bigdecimal的格式化 需求 Bigdecimal的长度太长 需要处理 1.定义一种格式 decimalFormat.setRoundingMode (RoundingMode.HALF_UP); 2.设置保留位数 decimalFormat.setRoundingMode (Rounding 阅读全文
posted @ 2022-05-23 20:02 ewindstorm 阅读(3170) 评论(0) 推荐(0)