asp.net.ph

Math.Max Method ( Int32, Int32 )

System Namespace   Math Class


Returns the larger 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;

Parameters

val1
The first of two 32-bit signed integers to compare.
val2
The second of two 32-bit signed integers to compare.

Return Value

Parameter val1 or val2, whichever is larger.

See Also

Math Members   Math.Max Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph