python的向上和向下取整

import math #向上取整 a = math.ceil(11.68)import

#四舍五入 b= round(11.68) print(a)im

#向下取整 c=math.floor(11.68) print(c)math

相关文章
相关标签/搜索