TOML precision revert
This commit is contained in:
parent
f47882194c
commit
37f94f2f96
@ -97,10 +97,7 @@ std::string Wrapper::write() const {
|
||||
break;
|
||||
case fieldtype::ftint: ss << *((int*)field->ptr); break;
|
||||
case fieldtype::ftuint: ss << *((uint*)field->ptr); break;
|
||||
case fieldtype::ftfloat:
|
||||
ss << std::fixed;
|
||||
ss << std::setprecision(15);
|
||||
ss << *((float*)field->ptr); break;
|
||||
case fieldtype::ftfloat: ss << *((float*)field->ptr); break;
|
||||
case fieldtype::ftstring:
|
||||
ss << escape_string(*((const string*)field->ptr));
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user