語言

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

定義

比較兩個值以計算較大的值,若輸入為 NaN則返回另一個值。

 static System::UInt64 System.Numerics.INumber<System.UInt64>.MaxNumber(System::UInt64 x, System::UInt64 y) = System::Numerics::INumber<System::UInt64>::MaxNumber;
static ulong INumber<ulong>.MaxNumber(ulong x, ulong y);
static member System.Numerics.INumber<System.UInt64>.MaxNumber : uint64 * uint64 -> uint64
 Shared Function MaxNumber (x As ULong, y As ULong) As ULong Implements INumber(Of ULong).MaxNumber

參數

x
UInt64

要比較的 y值。

y
UInt64

要比較的 x值。

傳回

x 若 大於 y;,則 y。

實作

適用於