Set the precision of emitting float/double to 15

This commit is contained in:
jbeder 2011-03-03 02:38:35 +00:00
parent 1f3cf8639a
commit 8186058a7f

View File

@ -116,6 +116,7 @@ namespace YAML
EmitSeparationIfNecessary();
std::stringstream str;
str.precision(15);
str << value;
m_stream << str.str();