| Description |
MIN (Magic xpa 2.x)
|
Returns the smallest of a group of values with the same attribute.
| |
Syntax:
|
MIN(value1,value2, ..., valuen)
| |
Parameters:
|
value1: A number, string or logical value2: Same attribute as value 1 . . . valuen: Same attribute as value 1
| |
Returns:
|
Smallest value
| |
Examples:
|
MIN(8,9,2,5,4) returns 2
MIN('ABC','ACD') returns 'ABC'
| |
Note:
|
The number of parameters is limited to 30. The display of the expanded expression in the Expression Editor will include an ellipsis ('...') as the last parameter, to indicate a variable number of parameters.
| |
See also:
|
MAX, IF
The Online and Rich Client Samples projects (program NM08 and RNM08)
|
|
|
|---|