(1)parseInt(str):parse理解
将字符串转化为整数,parseInt("7.6")//7
(2)Math.ceil(num):ceil天花板
对数进行向上取整,有小数的话整数部分加一,Math.ceil(7.6)//8
(3)Math.floor(num):floor地板
对数进行向下取整,有小数的话舍去小数,Math.floor(7.6)//7
(4)Math.round(num):
对数进行四舍五入,Math.round(4.3)//4 Math.round(4.6)//5