From: fredb Date: Tue, 7 Feb 2006 20:50:35 +0000 (+0000) Subject: Outputing 6 digits is not enough for a double X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=930a84b459d4f6abb444734a04ede3c4accaef9c;p=simgear.git Outputing 6 digits is not enough for a double --- diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 2f26f2a6..976ba30d 100644 --- 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();