From: Richard M. Stallman Date: Sat, 22 May 2004 22:07:39 +0000 (+0000) Subject: (Output Variables): Doc float-output-format. X-Git-Tag: ttn-vms-21-2-B4~6097 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70fc62f192dc0015d6839cfc07726a4cd361bdb0;p=emacs.git (Output Variables): Doc float-output-format. --- 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