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

实现

适用于