Usage:

x %= y

Assigns x to the value of x % y. It is equivalent to x = x % y.

This is integer modulo, where x and y are truncated to integers prior to the remainder of x divided by y being taken. For fractional values, use %%=.

See also:

- %%=