MathExt: Min |
Returns the minimum of two values.
Public Function Min( ByRef x As Variant, ByRef y As Variant ) As Variant
No type checking is performed to determine the minimum of two values given. A string compared to an integer is a legal pair of values to test. The only type checked is for an IComparable object. 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.
Project VBCorLib Overview Class MathExt Overview MathExt Properties MathExt Methods MaxIn MinIn