1、向上取整数
规则:整数部分+1
Math.ceil(2.112) //=3
2、向下取整数
规则:整数部分
Math.floor(2.112) // 2
3、四舍五入
Math.round(2.112) //2