INumberBase<TSelf>.IsInteger(TSelf) 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 un nombre intégral.
public:
static bool IsInteger(TSelf value);
public static abstract bool IsInteger(TSelf value);
static member IsInteger : 'Self -> bool
Public Shared Function IsInteger (value As TSelf) As Boolean
Paramètres
- value
- TSelf
Valeur à vérifier.
Retours
true si value est un entier ; sinon, false.
Remarques
Cette méthode gère correctement les valeurs à virgule flottante et retourne alors 2.0true3.0 et 2.23.3 retournent .false