diff options
author | Mike Anchor <git@mjpa.co.uk> | 2012-05-26 18:28:04 +0400 |
---|---|---|
committer | Mike Anchor <git@mjpa.co.uk> | 2012-05-26 18:28:04 +0400 |
commit | d25146e0ef9b26081079484f9a5dec8c4d25a55d (patch) | |
tree | 9b24292bfab7d695406acd31f0fd361c78ab423a /src | |
parent | 8fb7fd07a918166e1d2ba0baaf75ab32f2061ba2 (diff) |
Extra precision in Stringify() for decimal numbers.
Diffstat (limited to 'src')
-rw-r--r-- | src/JSONValue.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/JSONValue.cpp b/src/JSONValue.cpp index 258fe65..52537eb 100644 --- a/src/JSONValue.cpp +++ b/src/JSONValue.cpp @@ -582,6 +582,7 @@ std::wstring JSONValue::Stringify() const else { std::wstringstream ss; + ss.precision(15); ss << number_value; ret_string = ss.str(); } |