asp.net.ph

Math.Max Method ( Byte, Byte )

System Namespace   Math Class


Returns the larger of two 8-bit unsigned integers.

[ VB ]
Overloads Public Shared Function Max ( _
   ByVal val1 As Byte, _
   ByVal val2 As Byte _
) As Byte

[ C# ]
public static byte Max (
   byte val1,
   byte val2
);

[ C++ ]
public: static unsigned char Max (
   unsigned char val1,
   unsigned char val2
);

[ JScript ]
public static function Max (
   val1 : Byte,
   val2 : Byte
) : Byte;

Parameters

val1
The first of two 8-bit unsigned integers to compare.
val2
The second of two 8-bit unsigned integers to compare.

Return Value

Parameter val1 or val2, whichever is larger.

See Also

Math Members   Math.Max Overload List Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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