floatingQuotient()

The system function MathLib.floatingQuotient returns the quotient of one number divided by another. A domain exception is raised if the denominator equals zero. The function is implemented using double-precision floating-point arithmetic.

  MathLib.floatingQuotient(
    numericField1 mathLibNumber in,
    numericField2 mathLibNumber in)
  returns (result mathLibTypeDependentResult)
result
Any numeric or HEX item, as described in Mathematical (system words). The quotient is converted to the format of result and returned in result.
numericField1
Any numeric or HEX item, as described in Mathematical (system words). The item is converted to double-precision floating-point before the quotient is calculated.
numericField1
Any numeric or HEX item, as described in Mathematical (system words). The item is converted to double-precision floating-point before the quotient is calculated.

Example

  result = MathLib.floatingQuotient(myItem01,myItem02);

Related reference
EGL library MathLib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.