MathObject::max Method (Object^, Object^, array<Object^>^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Returns the largest of two or more specified numbers.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::HasVarArgs, JSBuiltin::Math_max)] static double max( Object^ x, Object^ y, ... array<Object^>^ args )
Parameters
- x
-
Type:
System::Object^
The first number to compare.
- y
-
Type:
System::Object^
The second number to compare.
- args
-
Type:
array<System::Object^>^
Additional numbers to compare.
.NET Framework
Available since 1.1
Available since 1.1
Show: