python float to int with rounding code example Example: python round to nearest integer Variable = int(round(Variable))