BigInteger.Abs(BigInteger) Méthode
Définition
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.
Obtient la valeur absolue d’un BigInteger objet.
public:
static System::Numerics::BigInteger Abs(System::Numerics::BigInteger value);
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.
Retours
Valeur absolue de value.
Remarques
La valeur absolue d’un nombre est ce nombre sans son signe, comme indiqué dans le tableau suivant.
value Paramètre |
Valeur renvoyée |
|---|---|
value
>= 0 |
value |
value
< 0 |
value * -1 |
La Abs méthode équivaut à la Math.Abs méthode pour les types numériques primitifs.