Complex.IsInteger(Complex) Méthode
Dans cet article
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.
Détermine si une valeur représente une valeur intégrale.
public:
static bool IsInteger(System::Numerics::Complex value) = System::Numerics::INumberBase<System::Numerics::Complex>::IsInteger;
public static bool IsInteger(System.Numerics.Complex value);
static member IsInteger : System.Numerics.Complex -> bool
Public Shared Function IsInteger (value As Complex) As Boolean
- value
- Complex
Valeur à vérifier.
true
si value
est un entier ; sinon, false
.
Cette méthode gère correctement les valeurs à virgule flottante et donc 2.0
et 3.0
retourne true
pendant 2.2
et 3.3
retourne false
.
S’applique à
Produit | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :