diff options
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data.c b/src/data.c index 2a64c1bbf82..91a1d8b75fb 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -2523,12 +2523,12 @@ NUMBER may be an integer or a floating point number. */) | |||
| 2523 | 2523 | ||
| 2524 | DEFUN ("string-to-number", Fstring_to_number, Sstring_to_number, 1, 2, 0, | 2524 | DEFUN ("string-to-number", Fstring_to_number, Sstring_to_number, 1, 2, 0, |
| 2525 | doc: /* Parse STRING as a decimal number and return the number. | 2525 | doc: /* Parse STRING as a decimal number and return the number. |
| 2526 | This parses both integers and floating point numbers. | 2526 | Ignore leading spaces and tabs, and all trailing chars. Return 0 if |
| 2527 | It ignores leading spaces and tabs, and all trailing chars. | 2527 | STRING cannot be parsed as an integer or floating point number. |
| 2528 | 2528 | ||
| 2529 | If BASE, interpret STRING as a number in that base. If BASE isn't | 2529 | If BASE, interpret STRING as a number in that base. If BASE isn't |
| 2530 | present, base 10 is used. BASE must be between 2 and 16 (inclusive). | 2530 | present, base 10 is used. BASE must be between 2 and 16 (inclusive). |
| 2531 | If the base used is not 10, STRING is always parsed as integer. */) | 2531 | If the base used is not 10, STRING is always parsed as an integer. */) |
| 2532 | (register Lisp_Object string, Lisp_Object base) | 2532 | (register Lisp_Object string, Lisp_Object base) |
| 2533 | { | 2533 | { |
| 2534 | register char *p; | 2534 | register char *p; |