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

Parameter | Description
--- | ---
`a` | Dividend.
`b` | Divisor.

Returns

`a%b`.

Throws

- ZeroDivisionException if the divisor equals `UShort(0)` at runtime.

Example

    assert UShort(10) % UShort(3) == UShort(1)