Decimal.INumberBase<Decimal>.MinMagnitudeNumber Method

Definition

Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.

C#
static decimal INumberBase<decimal>.MinMagnitudeNumber(decimal x, decimal y);

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

Proizvod Verzije
.NET 7, 8, 9, 10