Is there a function in Python that allows me to round down to the nearest multiple of an integer?
round_down(19,10)=10
round_down(19,5)=15
round_down(10,10)=10
I conscientiously looked at SO and found nothing related to rounding down to a nearest base. Please keep this in mind before you post links to related questions or flag as duplicate.