Determines the smaller of two numbers.
Min ( x, y )
Argument |
Description |
---|---|
x |
The number to which you want to compare y |
y |
The number to which you want to compare x |
The datatype of x or y, whichever datatype is more precise. If any argument’s value is null, Min returns null.
If either of the values being compared is null, Min returns null.
This statement returns 4:
Min(4,7)
This statement returns -7:
Min(- 4, - 7)
This statement returns 3.0, a decimal value:
Min(9.2,3.0)
Min method for DataWindows in the DataWindow Reference or the online Help