Public Function MedianOfThree( _
ByVal vA As Variant _
, ByVal vB As Variant _
, ByVal vC As Variant _
) As Variant MedianOfThree(12, 34, 56) = 34
MedianOfThree(34, 12, 56) = 34
MedianOfThree(56, 12, 34) = 34See also: MedianOfThreeVerify Subroutine
Median FunctionvA, vB, vC: Numeric arguments those middle member is to be returned. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.