Math.floor() 表示向下取整,返回double类型(floor—地板) 例如:Math.floor(-4.2) = -5.0Math.ceil() 表示向上取整,返回double类型(ceil—天花板) 例如:Math.ceil(5.6) = 6.0Math.round() 表示 四舍五入,返回int类型 例如:Math.round(-4.6) = -5