I am trying to round integers in python. I looked at the built-in round() function but it seems that that rounds floats.
My goal is to round integers to the closest
if you want the algebric form and still use round for it it's hard to get simpler than:
interval = 5 n = 4 print(round(n/interval))*interval