Skip to content
Snippets Groups Projects
Commit d5d3510f authored by Ruud Overeem's avatar Ruud Overeem
Browse files

BugID: 78

More significant numbers for doubles.
parent e0dcd697
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ KVpair::KVpair(const string& aKey, int aValue, bool genTimestamp) :
}
KVpair::KVpair(const string& aKey, double aValue, bool genTimestamp) :
pair<string, string> (aKey, formatString("%lg", aValue))
pair<string, string> (aKey, formatString("%.20lg", aValue))
{
OPTIONAL_TIMESTAMP
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment