What is the name for the operation that gives the portion of a number that wholly divides. kind of the the opposite of remainder/modulo e.g.
f(10, 3) = 9
f(9, 3) = 9
f(8, 3) = 6
f(7, 3) = 6
f(6, 3) = 6
f(5, 3) = 3
what should i name f?
(f(dividend, divisor) would be dividend - remainder or divisor * quotient)
Not aware of any special name for this, but considering you are flooring to the nearest multiple of $n$,
nfloormight be a reasonable name.