projects
/
simgear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c89e8
)
Outputing 6 digits is not enough for a double
author
fredb
<fredb>
Tue, 7 Feb 2006 20:50:35 +0000
(20:50 +0000)
committer
fredb
<fredb>
Tue, 7 Feb 2006 20:50:35 +0000
(20:50 +0000)
simgear/props/props.cxx
patch
|
blob
|
history
diff --git
a/simgear/props/props.cxx
b/simgear/props/props.cxx
index 2f26f2a697648a12f9b154614f49b4f493b08eac..976ba30d322a2b997e5c958d1e918375f1c7aef8 100644
(file)
--- a/
simgear/props/props.cxx
+++ b/
simgear/props/props.cxx
@@
-574,6
+574,7
@@
SGPropertyNode::make_string () const
case DOUBLE:
{
stringstream sstr;
+ sstr.precision( 10 );
sstr << get_double();
_buffer = sstr.str();
return _buffer.c_str();