This operator returns the remainder of division of one number by another number.
Integer examples
For instance, 10 / 2 has a remainder of 0. This is because 10 is divided by 2, exactly.
Another example, 15 / 2 has a remainder of 1. This is because, after division has taken place (15 can be divided 7 times), 1 is left over.
More examples:
The remainder of an integer division only returns the integer part of the result.
For instance, if you were to type 4 / 3 into a calculator, you would see the result is 1.3333333 etc. However, where this calculation is being performed as integer division in a programming language, such as java, only the integer part is returned - producing the result 1.
