I'll make the modulo operator (%) return an array with two values: the usual remainder and the quotient. So, "17 % 3" would return "array( 2, 5 )". Otherwise, you have to do something like:
q = 0;
r = 0;
r = 17 % 3;
q = (17 - r) / 3;
Mind you, it's trivial. Still, it's an extra, unnecessary step and seeing as how the division calculation must have been done in the first place to get the remainder.
Oh, and I work at
CD Baby now. Yay!