klyn.Long.operator%=
method
public native static operator%=( readonly a as Long, readonly b as Long ) as Void
Description

Replaces a with the remainder of a divided by b.

Parameters
  • a Mutable target value.
  • b Divisor.
Throws
  • ZeroDivisionError if the divisor equals `Long(0)` at runtime.
Example
value = Long(10)
value %= Long(3)
assert value == Long(1)