Building Your Event-Driven Architecture : Integration Server Built-In Services Reference : Math Folder : Summary of Elements in this Folder : pub.math:multiplyFloatList
pub.math:multiplyFloatList
WmPublic. Multiplies a list of floating point numbers (represented in a String list) and returns the product.
Input Parameters
numList
String List Numbers (floating point numbers represented as Strings) to multiply.
Output Parameters
value
String Product of the numbers in numlist. If a product 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, multiplying a number by infinity).
NaN
The computation produces a value that cannot be represented as a number (for example, the result of an illegal operation such as multiplying zero by zero or any operation that uses NaN as input, such as 10.0 + NaN = NaN).
Usage Notes
Make sure the strings that are passed to the service in numList are in a locale-neutral format (that is, using the pattern -####.##). Passing locally formatted strings may result in unexpected results. For example, calling pub.math:addFloats in a German locale with the arguments 1,23 and 2,34 will result in the value 357, not 3.57 or 3,57.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback