does int() round down python code example
Example 1: how to round a number down in python
>>> import math
>>> math.floor(3.9) # round down
3
Example 2: python round to nearest integer
Variable = int(round(Variable))
>>> import math
>>> math.floor(3.9) # round down
3
Variable = int(round(Variable))