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