changeset 38790:dc7cb360c349

Minor cleanup. Add example of scientific notation in string-to-number.
author Richard M. Stallman <rms@gnu.org>
date Sun, 12 Aug 2001 21:20:19 +0000
parents 72006230a5d8
children a670b4af3cb4
files lispref/strings.texi
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/strings.texi	Sun Aug 12 21:18:06 2001 +0000
+++ b/lispref/strings.texi	Sun Aug 12 21:20:19 2001 +0000
@@ -442,8 +442,8 @@
 
 @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 @@
      @result{} 0
 (string-to-number "-4.5")
      @result{} -4.5
+(string-to-number "1e5")
+     @result{} 100000.0
 @end example
 
 @findex string-to-int