2016年10月1日
摘要: public static void main(String[] args) throws Exception { { //Math函数的四舍五入,注意负数的时候小数位0.5的才会被进位 System.out.println(Math.round(15.5)); System.out.println(Math.round(-15.5)); ... 阅读全文
posted @ 2016-10-01 18:02 kuillldan 阅读(220) 评论(0) 推荐(0) 编辑