mathLib.floatingSum

The system function mathLib.floatingSum returns the sum of two numbers. The function is implemented using double-precision floating-point arithmetic.


mathLib.floatingSum syntax diagram

result

Any numeric or HEX item, as described in Mathematical (system words). The sum 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 the sum is calculated.

numericItem2

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

Example

  result = mathLib.floatingSum(myItem01,myItem02);

Related reference
Mathematical (system words)