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

Computes the floating-point remainder.

Parameters
  • a Dividend.
  • b Divisor.
Returns

The remainder of a / b.

Throws
  • ZeroDivisionError if `b == 0.0` at runtime.
Example
assert 9.0 % 2.0 == 1.0