]> git.mxchange.org Git - simgear.git/commitdiff
Outputing 6 digits is not enough for a double
authorfredb <fredb>
Tue, 7 Feb 2006 20:50:35 +0000 (20:50 +0000)
committerfredb <fredb>
Tue, 7 Feb 2006 20:50:35 +0000 (20:50 +0000)
simgear/props/props.cxx

index 2f26f2a697648a12f9b154614f49b4f493b08eac..976ba30d322a2b997e5c958d1e918375f1c7aef8 100644 (file)
@@ -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();