常见函数取整函数round 四射六入五平分ceil 向上取整floor 向下取整 常见函数 取整函数四舍五入 round 四射六入五平分https://www.cnblogs.com/tankeyin/p/12159258.html ceil 向上取整math.ceil(x) floor 向下取整math.floor(x)