Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Cloud | Built-In Services | Built-In Services | Math Services
 
Math Services
Use Math services to perform mathematical operations on string-based numeric values. Services that operate on integer values use Java's long data type (64-bit, two's complement). Services that operate on float values use Java's double data type (64-bit IEEE 754). If extremely precise calculations are critical to your application, you should write your own Java services to perform math functions.
The following Math services are available:
Service
Description
Adds one java.lang.Number object to another and returns the sum.
Divides one java.lang.Number object by another (num1/num2) and returns the quotient.
Returns the smallest number from a list of numbers.
Multiplies one java.lang.Number object by another and returns the product.
Subtracts one java.lang.Number object from another and returns the difference.
Converts a string to numeric data type.
Returns the absolute value of the input number.
Adds a list of floating point numbers (represented in a string list) and returns the sum.
Adds one floating point number (represented as a String) to another and returns the sum.
Adds a list of integers (represented in a String list) and returns the sum.
Adds one integer (represented as a String) to another and returns the sum.
Divides one floating point number (represented as a String) by another (num1/num2) and returns the quotient.
Divides one integer (represented as a String) by another (num1/num2) and returns the quotient.
Returns the largest number from a list of numbers.
Multiplies a list of floating point numbers (represented in a String list) and returns the product.
Multiples one floating point number (represented as String) by another and returns the product.
Multiplies a list of integers (represented in a String list) and returns the product.
Multiplies one integer (represented as a String) by another and returns the product.
Returns the next pseudorandom, uniformly distributed double between 0.0 and 1.0.
Returns a rounded number.
Subtracts one floating point number (represented as a String) from another and returns the difference.
Subtracts one integer (represented as a String) from another and returns the difference.