JS 中如何实现整除

JS 中如何实现整除

Math.ceil(countpagesize)向上整除 43=2Math.floor(countpagesize)向下整除 43=1Math.round(52)四舍五入parseInt(52)丢弃小数部
JavaScript80