From: Richard M. Stallman Date: Sun, 12 Aug 2001 21:20:19 +0000 (+0000) Subject: Minor cleanup. X-Git-Tag: emacs-pretest-21.0.105~206 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea626e87bb7f3c6969e25ae5236e4ab28bf30c8c;p=emacs.git Minor cleanup. Add example of scientific notation in string-to-number. --- diff --git a/lispref/strings.texi b/lispref/strings.texi index 970497871ea..b80dc244ee0 100644 --- a/lispref/strings.texi +++ b/lispref/strings.texi @@ -442,8 +442,8 @@ portion) is less. @defun assoc-ignore-case key alist This function works like @code{assoc}, except that @var{key} must be a -string, and comparison is done using @code{compare-strings}. -Case differences are ignored in this comparison. +string, and comparison is done using @code{compare-strings}, ignoring +case differences. @xref{Association Lists}. @end defun @defun assoc-ignore-representation key alist @@ -554,6 +554,8 @@ floating point number, this function returns 0. @result{} 0 (string-to-number "-4.5") @result{} -4.5 +(string-to-number "1e5") + @result{} 100000.0 @end example @findex string-to-int