Byte.INumber<Byte>.MaxNumber(Byte, Byte) 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::Byte System.Numerics.INumber<System.Byte>.MaxNumber(System::Byte x, System::Byte y) = System::Numerics::INumber<System::Byte>::MaxNumber;
static byte INumber<byte>.MaxNumber(byte x, byte y);
static member System.Numerics.INumber<System.Byte>.MaxNumber : byte * byte -> byte
Shared Function MaxNumber (x As Byte, y As Byte) As Byte Implements INumber(Of Byte).MaxNumber
Parâmetros
- x
- Byte
O valor a comparar com y.
- y
- Byte
O valor a comparar com x.
Devoluções
x se for maior que y; caso contrário, y.