語言

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。

實作

適用於