UInt16.INumber<UInt16>.MinNumber(UInt16, UInt16) 方法

定義

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

 static System::UInt16 System.Numerics.INumber<System.UInt16>.MinNumber(System::UInt16 x, System::UInt16 y) = System::Numerics::INumber<System::UInt16>::MinNumber;
static ushort INumber<ushort>.MinNumber (ushort x, ushort y);
static member System.Numerics.INumber<System.UInt16>.MinNumber : uint16 * uint16 -> uint16
 Shared Function MinNumber (x As UShort, y As UShort) As UShort Implements INumber(Of UShort).MinNumber

參數

x
UInt16

要與 y 比較的值。

y
UInt16

要與 x 比較的值。

傳回

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

實作

適用於