Decimal.INumber<Decimal>.MaxNumber(Decimal, Decimal) Methode

Definitie

Vergelijkt twee waarden met berekeningen die groter zijn en de andere waarde retourneren als een invoer is NaN.

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

Parameters

x
Decimal

De waarde die moet worden vergeleken met y.

y
Decimal

De waarde die moet worden vergeleken met x.

Retouren

x als het groter is dan y; anders , y.

Implementeringen

Van toepassing op