Outputing 6 digits is not enough for a double

This commit is contained in:
fredb
2006-02-07 20:50:35 +00:00
parent 21c89e8163
commit 930a84b459

View 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();