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
ParameterDescription
aMutable target value.
bDivisor.
Throws
  • ZeroDivisionError if the divisor equals Long(0) at runtime.
Example
value = Long(10)
value %= Long(3)
assert value == Long(1)