Decimal.INumber<Decimal>.MaxNumber(Decimal, Decimal) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Compare deux valeurs au calcul, ce qui est supérieur et retourne l’autre valeur si une entrée est 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
- x
- Decimal
Valeur à comparer à y
.
- y
- Decimal
Valeur à comparer à x
.
x
s’il est supérieur à y
; sinon, y
.
Produit | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: