aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c6
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
2524DEFUN ("string-to-number", Fstring_to_number, Sstring_to_number, 1, 2, 0, 2524DEFUN ("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.
2526This parses both integers and floating point numbers. 2526Ignore leading spaces and tabs, and all trailing chars. Return 0 if
2527It ignores leading spaces and tabs, and all trailing chars. 2527STRING cannot be parsed as an integer or floating point number.
2528 2528
2529If BASE, interpret STRING as a number in that base. If BASE isn't 2529If BASE, interpret STRING as a number in that base. If BASE isn't
2530present, base 10 is used. BASE must be between 2 and 16 (inclusive). 2530present, base 10 is used. BASE must be between 2 and 16 (inclusive).
2531If the base used is not 10, STRING is always parsed as integer. */) 2531If 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;