Redigera

Dela via


Decimal.INumber<Decimal>.MinNumber(Decimal, Decimal) Method

Definition

Compares two values to compute which is lesser and returning the other value if an input is 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

Parameters

x
Decimal

The value to compare with y.

y
Decimal

The value to compare with x.

Returns

x if it is less than y; otherwise, y.

Implements

Applies to