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

定義

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

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

參數

x
Decimal

要與 y 比較的值。

y
Decimal

要與 x 比較的值。

傳回

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

實作

適用於