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