max()

Function groupExecute on clientPlatform(s)
LookupYESAll

Syntax

max(value1[,value2]...)

Description

Returns the maximum value from a list of values. The values should all be numbers when numeric comparison is used or all strings when string comparison is used.

Example

Calculate
 
lResult
 as 
max
(3,6,2,7)

# returns 7

 
Calculate
 
lResult
 as 
max
(
'dagger'
,
'dog'
,
'dig'
)

# returns 'dog'