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

Computes the floor remainder, with the divisor's sign (including signed zero).

Parameters
ParameterDescription
aDividend.
bDivisor.
Returns

The remainder of a / b.

Throws
  • ZeroDivisionException if b == 0.0 at runtime.
Example
assert 9.0 % 2.0 == 1.0
assert -5.5 % 2.0 == 0.5