Byte.INumber<Byte>.MaxNumber(Byte, Byte) 方法

定義

比較兩個值與計算,如果輸入為 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

參數

x
Byte

要與 y 比較的值。

y
Byte

要與 x 比較的值。

傳回

x 如果大於 ,則為 y ,否則為 y

實作

適用於