UInt16.INumber<UInt16>.MaxNumber(UInt16, UInt16) Metod

Definition

Jämför två värden med beräkning som är större och returnerar det andra värdet om en indata är NaN.

 static System::UInt16 System.Numerics.INumber<System.UInt16>.MaxNumber(System::UInt16 x, System::UInt16 y) = System::Numerics::INumber<System::UInt16>::MaxNumber;
static ushort INumber<ushort>.MaxNumber(ushort x, ushort y);
static member System.Numerics.INumber<System.UInt16>.MaxNumber : uint16 * uint16 -> uint16
 Shared Function MaxNumber (x As UShort, y As UShort) As UShort Implements INumber(Of UShort).MaxNumber

Parametrar

x
UInt16

Värdet som ska jämföras med y.

y
UInt16

Värdet som ska jämföras med x.

Returer

xom den är större än y; annars . y

Implementeringar

Gäller för