gbdk-releases/gbdk-lib/libc/isdigit.c
2015-01-10 16:25:09 +01:00

10 lines
110 B
C

#include <ctype.h>
BOOLEAN isdigit(char c)
{
if(c >= '0' && c <= '9')
return 1;
else
return 0;
}