12-03-2022, 10:18 PM
Correct Jack, thanks.
My criteria for the return value is for it to be between 0 and the denominator, as stated right with the code.
This is a common requirement and not some wild idea I just came up with.
-5 into -7 leaves -2 remainder. Mainly the first post Remainder## keeps the numbers returned between 0 and the denominator.
My criteria for the return value is for it to be between 0 and the denominator, as stated right with the code.
This is a common requirement and not some wild idea I just came up with.
-5 into -7 leaves -2 remainder. Mainly the first post Remainder## keeps the numbers returned between 0 and the denominator.
b = b + ...