python的向上和向下取整

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

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

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

相關文章
相關標籤/搜索