_@MIN |
|
_@MIN function is used in a Logic Template to compare two or more values and return the smallest of them.
Returns
Description |
The smallest value in the list of arguments. |
Format
_@MIN( val_1,
val_2
[, val_3
[ ...
]]);
Argument |
Description |
val_1 |
The first value to be compared. |
val_2 |
The second value to be compared. |
val_3 |
The third value to be compared. |
... |
Continue for additional values. |
Example
//Return the smallest of the listed prices
PRICE = _@MIN( Price1, Price2, Price3, Price4 );