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

Computes the remainder of one UInt value divided by another.

Parameters
ParameterDescription
aDividend.
bDivisor.
Returns

The result as a UInt.

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