23extern C long strtol(
const char *nptr,
char **endptr,
int base)
34 if (*nptr && *nptr ==
'-')
37 if (*nptr && *nptr ==
'0' && *(nptr+1) && *(nptr+1) ==
'x')
43 *endptr = (
char *) nptr;
long toLong(const Number::Base base=Number::Dec) const
Convert the String to a signed long integer.
C long strtol(const char *nptr, char **endptr, int base)
Convert a string to a long integer.
#define C
Used to define external C functions.
bool isDigit(char c)
Test for a decimal digit.
Base
Numeral system base type.