Decimal.INumber<Decimal>.MaxNumber(Decimal, Decimal) Metoda

Definice

Porovná dvě hodnoty s výpočtem, který je větší, a vrátí druhou hodnotu, pokud je NaNvstup .

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

Parametry

x
Decimal

Hodnota, která se má porovnat s y.

y
Decimal

Hodnota, která se má porovnat s x.

Návraty

xpokud je větší než y; v opačném případě . y

Implementuje

Platí pro