摘要: //四舍五入 public static double toDecimal(Double num){ if(Double.isNaN(num) || num == null){ return 0; } return new BigDecimal(num).setScale(2, RoundingMo 阅读全文
posted @ 2020-02-24 10:50 sunseeker 阅读(728) 评论(0) 推荐(0) 编辑