MathExt: MinIn

MinIn

Returns the minimum value in a list of values.



 Public Function MinIn(
	  ByRef list As Variant ) As Variant

Parameters

list
[ByRef] Variant. A list of values to find the mininum value in.

Return Values

Variant -  The mininum value found in the list.

Remarks

The list can be an Array, Collection, or ICollection object.

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.

See Also

Project VBCorLib Overview Class MathExt Overview MathExt Properties MathExt Methods Min PI (get)