4 messages · Page 1 of 1 (latest)
n = numerator d = divisor c = closest numerator divided by d with no remainder
n ± (n % d) = c
or there is another version of formula i made
n - (n % d)