摘要: Math.round(x) 四舍五入 加上0.5向下取整 Math.round(1.5) 2 Math.round(-11.5) -11 Math.round(-11.2) -10Math.ceil(x) 不小于x的最小整数 Math.ceil(1.5) 2 Math.ceil... 阅读全文
posted @ 2014-07-16 00:43 ITCHN 阅读(1918) 评论(1) 推荐(0)