Outputing 6 digits is not enough for a double
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user