summaryrefslogtreecommitdiff
path: root/lispref/streams.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-05-22 22:07:39 +0000
committerRichard M. Stallman <rms@gnu.org>2004-05-22 22:07:39 +0000
commit70fc62f192dc0015d6839cfc07726a4cd361bdb0 (patch)
treed403279798109fd6ab60ffadc6bdf8890b147c8b /lispref/streams.texi
parent473f8eb3c9eccdd0eb47bf41a345fbe6de4a65d9 (diff)
downloademacs-70fc62f192dc0015d6839cfc07726a4cd361bdb0.tar.gz
(Output Variables): Doc float-output-format.
Diffstat (limited to 'lispref/streams.texi')
-rw-r--r--lispref/streams.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/lispref/streams.texi b/lispref/streams.texi
index a4e88b82f2e..fd9b13e84ef 100644
--- a/lispref/streams.texi
+++ b/lispref/streams.texi
@@ -821,6 +821,17 @@ the @code{print-circle} feature. You should not use it except
to bind it to @code{nil} when you bind @code{print-continuous-numbering}.
@end defvar
+@defvar float-output-format
+This variable specifies how to print floating point numbers. Its
+default value is @code{nil}, meaning use the shortest output
+that represents the number without losing information.
+
+To control output format more precisely, you can put a string in this
+variable. The string should hold a @samp{%}-specification to be used
+in the C function @code{sprintf}. For further restrictions on what
+you can use, see the variable's documentation string.
+@end defvar
+
@ignore
arch-tag: 07636b8c-c4e3-4735-9e06-2e864320b434
@end ignore