Méthode System::Char::IsDigit

Char::IsDigit(char_t) method

Détermine si le caractère spécifié est classé comme un chiffre décimal.

static bool System::Char::IsDigit(char_t c)
ParamètreTypeDescription
cchar_tLe caractère à tester

ReturnValue

Vrai si le caractère spécifié est un chiffre décimal, sinon - faux

Voir aussi

Char::IsDigit(const char_t *, int) method

Détermine si le caractère à l’index spécifié dans le tampon de caractères spécifié est classé comme un chiffre décimal.

static bool System::Char::IsDigit(const char_t *str, int idx)
ParamètreTypeDescription
strconst char_t *Pointeur vers le début du tampon de caractères
idxintUn indice basé sur zéro dans le tampon spécifié du caractère à tester

ReturnValue

Vrai si le caractère à l’index spécifié est un chiffre décimal, sinon - faux

Voir aussi

Char::IsDigit(const String&, const int32_t) method

Détermine si le caractère à l’index spécifié dans la chaîne spécifiée est classé comme un chiffre décimal.

static bool System::Char::IsDigit(const String &str, const int32_t idx)
ParamètreTypeDescription
strconst String&Une chaîne
idxconst int32_tUn indice basé sur zéro dans le tampon spécifié du caractère à tester

ReturnValue

Vrai si le caractère à l’index spécifié est un chiffre décimal, sinon - faux

Voir aussi