Files
calc/help/isdigit
2017-05-21 15:38:58 -07:00

55 lines
1.6 KiB
Plaintext

NAME
isdigit - whether character is a digit character
SYNOPSIS
isdigit(c)
TYPES
c string
return int
DESCRIPTION
Determine if c is a digit character. This function will return 1 if c is
a digit character, 0 otherwise.
EXAMPLE
; print isdigit("A"), isdigit("a"), isdigit("1"), isdigit("\t")
0 0 1 0
LIMITS
none
LINK LIBRARY
none
SEE ALSO
islower, isupper, isalnum, isalpha, iscntrl, isgraph, isprint,
ispunct, isspace, isxdigit
## Copyright (C) 2013 Christoph Zurnieden
##
## Calc is open software; you can redistribute it and/or modify it under
## the terms of the version 2.1 of the GNU Lesser General Public License
## as published by the Free Software Foundation.
##
## Calc is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
## Public License for more details.
##
## A copy of version 2.1 of the GNU Lesser General Public License is
## distributed with calc under the filename COPYING-LGPL. You should have
## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
##
## @(#) $Revision: 30.3 $
## @(#) $Id: isdigit,v 30.3 2013/09/01 20:00:20 chongo Exp $
## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isdigit,v $
##
## Under source code control: 2013/09/01 18:10:53
## File existed as early as: 2013
##
## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/