UInt16.INumber<UInt16>.MaxNumber(UInt16, UInt16) 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::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
Parâmetros
- x
- UInt16
O valor a comparar com y.
- y
- UInt16
O valor a comparar com x.
Devoluções
x se for maior que y; caso contrário, y.