klyn.UInt.operator%=
method
public native static operator%=( readonly a as UInt, readonly b as UInt ) 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 `UInt(0)` at runtime.
Example
value = UInt(10)
value %= UInt(3)
assert value == 1u