num1 | String Number to add. |
num2 | String Number to add. |
precision | String Optional. Number of decimal places to which the sum will be rounded. The default value is null. The precision parameter, if specified, will override the behavior set by the watt.server.math.floatOperation.mode property. For information about the watt.server.math.floatOperation.mode property, see the webMethods Integration Server Administrator’s Guide. |
value | String Sum of the numbers in num1 and num2. If a sum cannot be produced, value contains one of the following: | |
Value | Description | |
Infinity | The computation produces a positive value that overflows the representable range of a float type. | |
-Infinity | The computation produces a negative value that overflows the representable range of a float type. | |
0.0 | The computation produces a value that underflows the representable range of a float type (for example, adding a number to infinity). | |
NaN | The computation produces a value that cannot be represented as a number (for example, any operation that uses NaN as input, such as 10.0 + NaN = NaN). |