js的取整(取商) parseInt(6/4) --> 1 (取商) //向上取整 Math.ceil(1.1) --> 2 //向下取整 Math.floor(1.9) --> 1 //四舍五入取整 Math.round(1.4) --> 1 Math.round(1.5) --> 2 js的取模(取余数)