Export (0) Print
Expand All

Math.Max Method

Returns the larger of two specified numbers.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Max(Byte, Byte) Returns the larger of two 8-bit unsigned integers.
Public method Static member Max(Decimal, Decimal) Returns the larger of two decimal numbers.
Public method Static member Max(Double, Double) Returns the larger of two double-precision floating-point numbers.
Public method Static member Max(Int16, Int16) Returns the larger of two 16-bit signed integers.
Public method Static member Max(Int32, Int32) Returns the larger of two 32-bit signed integers.
Public method Static member Max(Int64, Int64) Returns the larger of two 64-bit signed integers.
Public method Static member Max(SByte, SByte) Returns the larger of two 8-bit signed integers.
Public method Static member Max(Single, Single) Returns the larger of two single-precision floating-point numbers.
Public method Static member Max(UInt16, UInt16) Returns the larger of two 16-bit unsigned integers.
Public method Static member Max(UInt32, UInt32) Returns the larger of two 32-bit unsigned integers.
Public method Static member Max(UInt64, UInt64) Returns the larger of two 64-bit unsigned integers.
Top

Community Additions

ADD
Show:
© 2014 Microsoft