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