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

Computes the remainder of one Int value divided by another.

Parameters
  • a Dividend.
  • b Divisor.
Returns

a%b.

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