summaryrefslogtreecommitdiffstats
path: root/doc/PrintDbl.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/PrintDbl.3')
-rw-r--r--doc/PrintDbl.313
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/PrintDbl.3 b/doc/PrintDbl.3
index 4588126..a4c7dc1 100644
--- a/doc/PrintDbl.3
+++ b/doc/PrintDbl.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: PrintDbl.3,v 1.7 2005/05/10 18:33:57 kennykb Exp $
+'\" RCS: @(#) $Id: PrintDbl.3,v 1.8 2007/10/24 14:29:38 dkf Exp $
'\"
.so man.macros
.TH Tcl_PrintDouble 3 8.0 Tcl "Tcl Library Procedures"
@@ -36,10 +36,13 @@ least \fBTCL_DOUBLE_SPACE\fR characters of storage.
\fBTcl_PrintDouble\fR generates a string that represents the value
of \fIvalue\fR and stores it in memory at the location given by
\fIdst\fR. It uses \fB%g\fR format to generate the string, with one
-special twist: the string is guaranteed to contain either
-a ``.'' or an ``e'' so that it doesn't look like an integer. Where
-\fB%g\fR would generate an integer with no decimal point, \fBTcl_PrintDouble\fR
-adds ``.0''.
+special twist: the string is guaranteed to contain either a
+.QW .
+or an
+.QW e
+so that it doesn't look like an integer. Where \fB%g\fR would generate
+an integer with no decimal point, \fBTcl_PrintDouble\fR adds
+.QW .0 .
.VS 8.5
.PP
If the \fBtcl_precision\fR value is non-zero, the result will have