diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-06-02 20:41:14 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-06-02 20:41:14 (GMT) |
commit | 6039dfc746e3972a395decc333132006fea494a2 (patch) | |
tree | 60fcbce7ccc10e27006e0520cd68b779f9423d58 /tksao | |
parent | c037b498a3c2269f52d6d480d849bd840d7ed637 (diff) | |
download | blt-6039dfc746e3972a395decc333132006fea494a2.zip blt-6039dfc746e3972a395decc333132006fea494a2.tar.gz blt-6039dfc746e3972a395decc333132006fea494a2.tar.bz2 |
fix info box physical and image format
Diffstat (limited to 'tksao')
-rw-r--r-- | tksao/frame/base.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C index c0fbfcd..60cfb4a 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -687,7 +687,8 @@ void Base::doubleToTclArray(double d, const char* var, str << base << "," << mod << ends; ostringstream vstr; - vstr << fixed << setw(9) << setprecision(3) << d << ends; + vstr << setprecision(8) << d << ends; + // vstr << fixed << setw(9) << setprecision(3) << d << ends; Tcl_SetVar2(interp, (char*)var, str.str().c_str(), vstr.str().c_str(), 0); } |