花费 6 ms
js中的整除运算

Math.ceil(count / pagesize); //向上整除 4/3=2; Math.floor(count / pagesize); //向下整除 4/3=1; Math.round(5/2);//四舍五入 parseInt ...

Wed Jul 06 00:25:00 CST 2016 0 37482

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