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

Computes the remainder of one Float value divided by another.

Parameters
  • a Dividend.
  • b Divisor.
Returns

a%b.

Throws
  • ZeroDivisionError if the divisor equals `Float(0.0)` at runtime.
Example
assert Float(10.0) % Float(3.0) == Float(1.0)