Application Integration - Software AG Hosted Environment : Integration Cloud : Integrations : Built-In Services : Math : Summary of Math services
Summary of Math services
You can use the 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
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.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback