Commit 7c2127d0 authored by Paul Eggert's avatar Paul Eggert
Browse files

Document behavior of (string-to-number "+@") (Bug#16293).

* strings.texi (String Conversion): Document behavior of
string-to-number on invalid strings that begin with "+", too.
parent 54c2b8b4
2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
Document behavior of (string-to-number "+@") (Bug#16293).
* strings.texi (String Conversion): Document behavior of
string-to-number on invalid strings that begin with "+", too.
2014-01-03 Chong Yidong <cyd@gnu.org>
* help.texi (Documentation, Accessing Documentation): Copyedits.
......
......@@ -622,10 +622,8 @@ but its value is too large to fit into a Lisp integer,
The parsing skips spaces and tabs at the beginning of @var{string},
then reads as much of @var{string} as it can interpret as a number in
the given base. (On some systems it ignores other whitespace at the
beginning, not just spaces and tabs.) If the first character after
the ignored whitespace is neither a digit in the given base, nor a
plus or minus sign, nor the leading dot of a floating point number,
this function returns 0.
beginning, not just spaces and tabs.) If @var{string} cannot be
interpreted as a number, this function returns 0.
@example
(string-to-number "256")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment