util.math.ceiling
ceiling
Round a number up to the nearest integer. If an int
is given, it just returns that integer.
def util.math.ceiling(
value: dec or int = None, # Required
):
Returns int
.
Example:
# val == int(3)
val = util.math.ceiling(value=2.5)