Return the ceiling of x, the smallest integer greater than or equal to x. If x is not a float, delegates to x.__ceil__(), which should return an Integral value.
math.ceil()
import math a = 1.0003 print(math.ceil(a))
The Above Program would print 2.
https://docs.python.org/3/library/math.html