共用方式為


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

定義

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

 static short System.Numerics.INumber<System.Int16>.MinNumber(short x, short y) = System::Numerics::INumber<short>::MinNumber;
static short INumber<short>.MinNumber (short x, short y);
static member System.Numerics.INumber<System.Int16>.MinNumber : int16 * int16 -> int16
 Shared Function MinNumber (x As Short, y As Short) As Short Implements INumber(Of Short).MinNumber

參數

x
Int16

要與 y 比較的值。

y
Int16

要與 x 比較的值。

傳回

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

實作

適用於