Description
Returns the minimum element in one or two argument arrays
-
Return Type
-
A McObject object.
A scalar value giving the minimum element found in the argument(s).
-
Syntax
-
object.McMin (varNumbers1, [varNumbers2])
The McMin Method syntax has these parts: |
| object | An expression evaluating to an object of type McOMGlobal. | | varNumbers1 | Required. A Variant value. May be a scalar or array of any numeric type. It may also be an McObject instance of a numeric type.
| | varNumbers2 | Optional. A Variant value. Optional argument. May be a scalar or array of any numeric type. It may also be an McObject instance of a numeric type. If the type differs from that of varNumbers1, then it is cast to that type.
| Remarks
The varNumbers1 and optional varNumbers2 arguments (which may be a scalar or an array of arthmetic values) are scanned to find the minimum element found in either of them.
If the type of varNumbers2 differs from varNumbers1, then it is cast to the type of varNumbers1 before being scanned for the minimumum.
|