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

定義

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

 static System::UInt32 System.Numerics.INumber<System.UInt32>.MaxNumber(System::UInt32 x, System::UInt32 y) = System::Numerics::INumber<System::UInt32>::MaxNumber;
static uint INumber<uint>.MaxNumber (uint x, uint y);
static member System.Numerics.INumber<System.UInt32>.MaxNumber : uint32 * uint32 -> uint32
 Shared Function MaxNumber (x As UInteger, y As UInteger) As UInteger Implements INumber(Of UInteger).MaxNumber

參數

x
UInt32

要與 y 比較的值。

y
UInt32

要與 x 比較的值。

傳回

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

實作

適用於