MAX

The MAX function is a mathematical function that returns the highest value in a set of values. The highest value is a real value.

Function Name

MAX

Description

Returns the highest value from a set of values.

Arguments

MAX(INTEGER or REAL, INTEGER or REAL, INTEGER or REAL...)

The values in the set of values has to be separated by commas and they can be integers or real floating values. For information on integers and real floating values—see Number (Integer or Real).

There are MAX extensions for use with Data Grids and Data Sets (see below).

Returns

The highest value in a set of input values. The data type is the same as that of the input values (integer or real).

Example:

MAX(2, 3, 4, 1)

The output is 4.


Disclaimer

ClearSCADA 2017 R2