I don\'t really understand how modulus division works. I was calculating 27 % 16 and wound up with 11 and I don\'t understand why.
27 % 16
11
I can\'t
Very simple: a % b is defined as the remainder of the division of a by b.
a % b
a
b
See the wikipedia article for more examples.