mathLib.floatingMod

The system function mathLib.floatingMod returns the floating-point remainder of one number divided by another. The result has the same sign as the numerator. A domain exception is raised if the denominator equals zero.


mathLib.floatingMod syntax diagram

result

Any numeric or HEX item, as described in Mathematical (system words). The floating-point remainder is converted to the format of result and returned in result.

numericItem1

Any numeric or HEX item, as described in Mathematical (system words). The item is converted to double-precision floating-point before result is calculated.

numericItem2

Any numeric or HEX item, as described in Mathematical (system words). The item is converted to double-precision floating-point before result is calculated.

Example

  result = mathLib.floatingMod(myItem01,myItem02);

Related reference
Mathematical (system words)