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

Computes the remainder of one UShort value divided by another.

Parameters
  • a Dividend.
  • b Divisor.
Returns

a%b.

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