Min
Mon 01 January 2018Syntax
Min(param_list)
Where param_list has the form
parameter1, parameter2 [, parameter3, . . . parameterN]
Description
Use the Min function to determine the minimum value in the parameter list. The type of every item in the parameter list must be compatible with the first parameter in the list.
For example, if the first parameter is a string and the second parameter is a number with value 123.456, the second parameter is converted to the string "123.456" before the comparison is performed.
If all the values in the parameter list are alpha characters, "a" is less than "m", so Min("a", "m") returns "a".
Parameters
Field or Control |
Definition |
---|---|
param_list |
Specify a list of items to be compared. All items in the parameter list must be of the same type. If a value isn't defined, the system assumes it's of the same type as the first parameter. |
Returns
The item in the list that has the minimum value.