Math的round、ceil、floor函数 Math.round:如果参数是小数,则求本身的四舍五入。 Math.ceil:如果参数是小数,则求最小的整数但不小于本身. Math.floor:如果参数是小数,则求最大的整数但不大于本身.