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

实现

适用于