Python 中取整的方法floor,ceil,round,地板函数:math.floor(4.9)=4天花板函数:math.ceil(4.1)=5四舍五入:round(4.5)=4round(4.6)=5.
確定! 回上一頁