INumberBase<TSelf>.IsInteger(TSelf) Méthode

Définition

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 s’il value s’agit d’un entier ; sinon, false.

Remarques

Cette méthode gère correctement les valeurs à virgule flottante et 2.0 retourne alors et 3.32.2 retourne false.true3.0

S’applique à