#68 Precision of floating point values

open
nobody
None
5
2011-08-05
2011-08-05
Etienne Danvoye
No

In TiXmlAttribute::SetDoubleValue, double values are converted to text using the default precision of sprintf, which is not enough, the result is that double values saved to xml and read back have been truncated. Please add a way to specify the precision, or simply increase it to a value high enough to properly represent double values.

Discussion