> a=6.4
> b=math.ceil(a)
> print(b)
7
> c=math.floor(a)
> print(c)
6

 

ceil向上取整

floor向下取整