Set the precision of emitting float/double to 15
This commit is contained in:
parent
ca5992b971
commit
9128d841f5
@ -116,6 +116,7 @@ namespace YAML
|
||||
EmitSeparationIfNecessary();
|
||||
|
||||
std::stringstream str;
|
||||
str.precision(15);
|
||||
str << value;
|
||||
m_stream << str.str();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user