klyn.Short.operator%
method
public native static operator%( readonly a as Short, readonly b as Short ) as Short
Description

Computes the remainder of one Short value divided by another.

Parameters
  • a Dividend.
  • b Divisor.
Returns

a%b.

Throws
  • ZeroDivisionError if the divisor equals `Short(0)` at runtime.
Example
assert Short(10) % Short(3) == Short(1)