mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-07-03 02:15:19 +02:00
switch 15 with 17 (imho tests are wrong!)
This commit is contained in:
parent
c0a7cfa798
commit
7faf207d06
@ -143,7 +143,7 @@ std::string valueToString(double value, bool useSpecialFloats, unsigned int prec
|
|||||||
int len = -1;
|
int len = -1;
|
||||||
|
|
||||||
std::stringstream value_ss;
|
std::stringstream value_ss;
|
||||||
value_ss << std::setprecision( 15 ) << value;
|
value_ss << std::setprecision( 17 ) << value;
|
||||||
std::string value_str = value_ss.str();
|
std::string value_str = value_ss.str();
|
||||||
|
|
||||||
// Print into the buffer. We need not request the alternative representation
|
// Print into the buffer. We need not request the alternative representation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user