CorMath: 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.

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.

See Also

Project CorLib Overview

Class CorMath Overview