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

Replaces a with the remainder of a divided by b.

Parameters
ParameterDescription
aMutable target value.
bDivisor.
Throws
  • ZeroDivisionError if the divisor equals Float(0.0) at runtime.
Example
value = Float(10.0)
value %= Float(3.0)
assert value == Float(1.0)