I am learning programming in C++ and found the modulus/modulo function rather handy. Does anyone have any ideas as to how one would implement the mod function?
There are two verisons of the mod function:
The programming one :
7 mod 2 = 1 becuase 7 / 2 leaves a remainder of one
and the math version
100 = 86 (mod 7) becuase 100 - 86 leaves a multiple of seven, 14.
Anyone think they could make a trigger set for this?