Integration Server 10.5 | Built-In Services Reference Guide | Math Folder | Summary of Elements in this Folder | pub.math:addInts
 
pub.math:addInts
WmPublic. Adds one integer (represented as a String) to another and returns the sum.
Input Parameters
num1
String Number (integer represented as a String) to add.
num2
String Number (integer represented as a String) to add.
Output Parameters
value
String Sum of num1 and num2.
Usage Notes
Make sure the result of your calculation is less than 64 bits in width (the maximum width for the long data type). If the result exceeds this limit, it will generate a data overflow.
Make sure the strings that are passed to the service in num1andnum2 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.