min()

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

Syntax

min(value1[,value2]...)

Description

Returns the minimum 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 min(3,6,2,7)
; returns 2


Calculate lResult as min('cat','dog','apple')
; returns 'apple'