Answers for "get next multiple of a number"

0

get next multiple of a number

# n integer to chech
# a = multipole

# find the near a-multipole to n
n + (a - n % a)
Posted by: Guest on March-12-2020

Code answers related to "get next multiple of a number"

Python Answers by Framework

Browse Popular Code Answers by Language