klyn.Int.operator%=
method

    public native static operator%=( readonly a as Int, readonly b as Int ) as Void

Description

Replaces `a` with the remainder of `a` divided by `b`.

Parameters

Parameter | Description
--- | ---
`a` | Mutable target value.
`b` | Divisor.

Throws

- ZeroDivisionException if the divisor equals `0` at runtime.

Example

    value = 10
    value %= 3
    assert value == 1