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

定義

比較兩個值與計算,如果輸入為 NaN ,則會傳回另一個值。

 static long System.Numerics.INumber<System.Int64>.MaxNumber(long x, long y) = System::Numerics::INumber<long>::MaxNumber;
static long INumber<long>.MaxNumber (long x, long y);
static member System.Numerics.INumber<System.Int64>.MaxNumber : int64 * int64 -> int64
 Shared Function MaxNumber (x As Long, y As Long) As Long Implements INumber(Of Long).MaxNumber

參數

x
Int64

要與 y 比較的值。

y
Int64

要與 x 比較的值。

傳回

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

實作

適用於