Decimal.INumberBase<Decimal>.MaxMagnitudeNumber Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Compara dois valores para calcular qual tem maior magnitude e devolve o outro valor se uma entrada for NaN.
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
Parâmetros
- x
- Decimal
O valor a comparar com y.
- y
- Decimal
O valor a comparar com x.
Devoluções
x se for maior que y; caso contrário, y.