System Namespace Math Class
Returns the smaller of two 32-bit signed integers.
[ VB ]
Overloads Public Shared Function Max ( _
ByVal val1 As Integer, _
ByVal val2 As Integer _
) As Integer
[ C# ]
public static int Max (
int val1,
int val2
);
[ C++ ]
public: static int Max (
int val1,
int val2
);
[ JScript ]
public static function Max (
val1 : int,
val2 : int
) : int;
- val1
- The first of two 32-bit signed integers to compare.
- val2
- The second of two 32-bit signed integers to compare.
Parameter val1 or val2, whichever is smaller.
Math Members Math.Max Overload List