Decimal.INumberBase<Decimal>.MaxMagnitudeNumber Metoda

Definice

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

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

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