Decimal.INumber<Decimal>.MaxNumber(Decimal, Decimal) 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 é maior e devolve o outro valor se uma entrada for NaN.
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
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.