花费 46 ms
js 向上和向下取整

Math.ceil(x),Math.floor(x) ◎Math.ceil()执行向上舍入,即它总是将数值向上舍入为最接近的整数;◎Math.floor()执行向下舍入,即它总是将数值向下舍入为最接 ...

Sat Jul 29 02:07:00 CST 2017 0 14694

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM