python round gives a poiny code example
Example 1: python round to dp
round(float_num, num_of_decimals)
Example 2: python round to nearest integer
Variable = int(round(Variable))
round(float_num, num_of_decimals)
Variable = int(round(Variable))