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

Replaces a with the floating-point remainder of a / b.

Parameters
  • a Mutable target value.
  • b Divisor.
Throws
  • ZeroDivisionError if `b == 0.0` at runtime.
Example
value = 9.0
value %= 2.0
assert value == 1.0