CorMath: Min |
Returns the minimum of two values.
Public Function Min( ByRef x As Variant, ByRef y As Variant ) As Variant
The values must be of the same type for the comparison to be performed. If X is an IComparable, then the object is used to test for the minimum value.
If both values are equavalent then X is returned.