Integration Server 10.3 | Built-In Services Reference Guide | Math Folder | Summary of Elements in this Folder | pub.math:subtractInts
 
pub.math:subtractInts
WmPublic. Subtracts one integer (represented as a String) from another and returns the difference.
Input Parameters
num1
String Number (integer represented as a String).
num2
String Number (integer represented as a String) to subtract from num1.
Output Parameters
value
String Difference of num1 - 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 num1 andnum2 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.