Integration Cloud 6.1.0 | Built-In Services | Built-In Services | addInts
 
addInts
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
Ensure that 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.
Ensure that 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 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.