Min
(Engine-Level Function)
Description: | Returns the minimum of a group of parameters. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Generic Math |
Related to: | Abs | AMax | AMin| Limit | Max |
Format: | Min(Parm1, Parm2 [, Parm3, ...]) |
Parameters: |
Parm1, Parm2, Parm3, ... |
Required. Any number of parameters, giving any numeric expressions, from which a minimum value will be selected. |
Comments: | The order of the values is irrelevant. If any of the parameters is invalid, the return value is invalid also. |
Examples:
p = Min(62, 3, 2, 2.01); q = Min(3, 2); r = Min(Invalid, 6);
The values of p, q, and r will be 2, 2 and invalid respectively.