iqHpi
0
Q:

get next multiple of a number

# n integer to chech
# a = multipole

# find the near a-multipole to n
n + (a - n % a)

0

New to Communities?

Join the community