摘要: double f = 111231.035; BigDecimal l = new BigDecimal(f); double c = l.setScale(2, RoundingMode.HALF_UP).doubleValue(); System... 阅读全文
posted @ 2014-07-22 21:27 nihao1314520 阅读(137) 评论(0) 推荐(0)