Public Function Min3Real( _
ByVal vNum1 As Variant _
, ByVal vNum2 As Variant _
, ByVal vNum3 As Variant _
) As Variant
"Minimum Of Three Real Numbers"
Return the minimum of three numeric arguments.
Returns the leftmost of the minimum arguments.
Examples: Min3Real(23, 45, 56) = 23
Min3Real(-12, 12, 4) = -12
Min3Real(2%, 2#, 2!) = 2%
Min3Real("SA", "RO", "EN") = "EN"
See also: Min3RealVerify Subroutine
Min3Variant Function
Min2Real Function
Max3Real Function
vNum1: First of three numeric arguments, the minimum of which will be returned.
vNum2: Second of three numeric arguments, the minimum of which will be returned.
vNum3: Third of three numeric arguments, the minimum of which will be returned.
Note: If all three arguments happen to be strings, they will be compared using Binary comparisons.
Note: This function will generate an error if any of the arguments are not compatible, such as if one is a string and the other is numeric; see also the Min3Variant function.
Note: This function does not support three-valued logic. The behavior of this function is undefined if any of the arguments are Null. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.