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