MODULUS %

This operator takes two arguments. The returned value is the remainder when the first argument is divided by the second. For example:

a = 5 % 2;

b = 7.4 % 1.2;

The values of a and b will be 1 and 0.2 respectively.