I don't know of any python function to do so, but you can easily code one : import math def ceil(x, s): return s * math.ceil(float(x)/s).
確定! 回上一頁