Język

Byte.INumber<Byte>.MaxNumber(Byte, Byte) Metoda

Definicja

Porównuje dwie wartości z obliczeniami, które są większe i zwracają drugą wartość, jeśli dane wejściowe to 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

Parametry

x
Byte

Wartość do porównania z y.

y
Byte

Wartość do porównania z x.

Zwraca

x jeśli jest większa niż y; w przeciwnym razie y.

Implementuje

Dotyczy