摘要: 4种方法,都是四舍五入,例: import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.NumberFormat; publicclass format { double f = 111231.5585; ... 阅读全文
posted @ 2014-09-02 23:28 xiaotou745 阅读(283) 评论(0) 推荐(0) 编辑