1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/project/common/utils.py

4 lines
69 B
Python
Raw Permalink Normal View History

2016-12-29 17:41:31 +00:00
def round_to_multiple(value, base):
return value - value % base