Complex.IsInteger(Complex) 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.
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
Paramètres
- value
- Complex
Valeur à vérifier.
Retours
true s’il value s’agit d’un entier ; sinon, false.
Implémente
Remarques
Cette méthode gère correctement les valeurs à virgule flottante et 2.0 retourne alors et 3.32.2 retourne false.true3.0