max()

Function group Execute on client Platform(s)
Lookup YES All

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'