% means balance, when 27 is divided by 10, leaves a remainder of 7
EDIT:
My 2 cents about all discussions about the difference between module and remainder
Take% b
1. When both +ve, Modulo & Remainder are one and the same 2. When a is -ve, they are not the same
For instance:
a = -10, b = 3
Balance -10% 3 = -1
for Modulo, add the larger number of 3 to your 'a' and calculate the remainder.
-10 + 12 = 2
2% 3 = 2 - your answer
source share