I get that the modulo operator (%) is used to get the remainder of a division, so for example:
7 % 3 = 1 But, why does 1 % 60 = 1 and not 0.084? (1 - 0.016)
Why does -1 % 60 = 59?
There must be something I don't understand about how this operator works.
n % m = n for 0 < n < m. In your example, the grade school representation of 1/60 would be 0R1 (zero remainder 1).