Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

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



Previous fileTop of documentContentsIndexNext file
©Copyright 1998, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.
OEM Release, June 1998