地板函数:math.floor(4.9)=4天花板函数: math.ceil(4.1)=5四舍五入: round(4.5)=4 round(4.6)=5 来源:https://www.cnblogs.com/LoganChen/p/11992005.html 标签 floor ceil python