Building Your Event-Driven Architecture : Integration Server Built-In Services Reference : Math Folder : Summary of Elements in this Folder : pub.math:divideInts
pub.math:divideInts
WmPublic. Divides one integer (represented as a String) by another (num1/num2) and returns the quotient.
Input Parameters
num1
String Number (integer represented as a String) that is the dividend.
num2
String Number (integer represented as a String) that is the divisor.
Output Parameters
value
String The quotient of num1 / num2.
Usage Notes
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.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback