See the supported connectors for Application Integration.

MAX function

MAX function

Function Name Description Usage Input parameter Return value
MAX Finds the highest value in an array. MAX() N/A Highest value in an array.

Supported data type

The MAX function supports the following data types:

  • Double array
  • Integer array

Example 1: Get the highest value in an integer array

Sample data: $var1$ = {5,8,2,1}

Usage: $var1$.MAX()

Return the highest value in var1.

Output: 8

Example 2: Get the highest value in a double array

Sample data: $var1$ = {2.5,6.1,4.9}

Usage: $var1$.MAX()

Return the highest value in var1.

Output: 6.1

Recommendation