summaryrefslogtreecommitdiffstats
path: root/doc/tclvars.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-08-09 10:06:28 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-08-09 10:06:28 (GMT)
commit99218e86bcf6d184ccf51155c312d298a5d82b07 (patch)
treee3746121f114a149427f88ebfe84850a5ae43702 /doc/tclvars.n
parenta15358050ba135ab39f8fa94adbd1584fb657ffa (diff)
downloadtcl-99218e86bcf6d184ccf51155c312d298a5d82b07.zip
tcl-99218e86bcf6d184ccf51155c312d298a5d82b07.tar.gz
tcl-99218e86bcf6d184ccf51155c312d298a5d82b07.tar.bz2
Make [expr] use in examples more idiomatic [Bug 1526581]
Diffstat (limited to 'doc/tclvars.n')
-rw-r--r--doc/tclvars.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tclvars.n b/doc/tclvars.n
index 0c0debb..eaa0dc1 100644
--- a/doc/tclvars.n
+++ b/doc/tclvars.n
@@ -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: tclvars.n,v 1.24 2006/04/18 18:05:47 dgp Exp $
+'\" RCS: @(#) $Id: tclvars.n,v 1.25 2006/08/09 10:06:28 dkf Exp $
'\"
.so man.macros
.TH tclvars n 8.0 Tcl "Tcl Built-In Commands"
@@ -263,7 +263,7 @@ binary number.
double-precision values to be converted to strings and back to
binary with no loss of information. However, using 17 digits prevents
any rounding, which produces longer, less intuitive results. For example,
-\fBexpr 1.4\fR returns 1.3999999999999999 with \fBtcl_precision\fR
+\fBexpr {1.4}\fR returns 1.3999999999999999 with \fBtcl_precision\fR
set to 17, vs. 1.4 if \fBtcl_precision\fR is 12.
.RE
.PP