Skip to content. Skip to navigation

ICTP Portal

Sections
You are here: Home Manuals on-line PGI Compiler pgC_lib isdigit
Personal tools
Document Actions

isdigit



Click on the banner to return to the class reference home page.

isdigit


Locale Convenience Function

Summary

Determines if a character is a decimal digit.

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

None

Synopsis

#include <locale>

template <class charT> 
bool isdigit (charT c, const locale& loc) const;

Description

The isdigit function returns true if the character passed as a parameter is a decimal digit, otherwise the function returns false. The check is made using the ctype facet from the locale parameter.

See Also

other is_ functions, locale, ctype


©Copyright 1996, Rogue Wave Software, Inc.


Powered by Plone This site conforms to the following standards: