Outputing 6 digits is not enough for a double
This commit is contained in:
@@ -574,6 +574,7 @@ SGPropertyNode::make_string () const
|
|||||||
case DOUBLE:
|
case DOUBLE:
|
||||||
{
|
{
|
||||||
stringstream sstr;
|
stringstream sstr;
|
||||||
|
sstr.precision( 10 );
|
||||||
sstr << get_double();
|
sstr << get_double();
|
||||||
_buffer = sstr.str();
|
_buffer = sstr.str();
|
||||||
return _buffer.c_str();
|
return _buffer.c_str();
|
||||||
|
|||||||
Reference in New Issue
Block a user