BigInteger.Abs(BigInteger) Méthode
Définition
Important
Certaines informations concernent des produits en version préliminaire qui peuvent être considérablement modifiés avant leur sortie. Microsoft n’offre aucune garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la valeur absolue d'un objet BigInteger.
public:
static System::Numerics::BigInteger Abs(System::Numerics::BigInteger value);
public:
static System::Numerics::BigInteger Abs(System::Numerics::BigInteger value) = System::Numerics::INumberBase<System::Numerics::BigInteger>::Abs;
public static System.Numerics.BigInteger Abs(System.Numerics.BigInteger value);
static member Abs : System.Numerics.BigInteger -> System.Numerics.BigInteger
Public Shared Function Abs (value As BigInteger) As BigInteger
Paramètres
- value
- BigInteger
Nombre.
Retourne
Valeur absolue de value.
Implémente
Remarques
La valeur absolue d’un nombre est ce nombre sans son signe, comme indiqué dans le tableau suivant.
Paramètre value |
Valeur de retour |
|---|---|
value
>= 0 |
value |
value
< 0 |
value * -1 |
La Abs méthode est équivalente à la Math.Abs méthode pour les types numériques primitifs.