From d5d3510fdbfe3f94cea7dc1eea31de4aba3216da Mon Sep 17 00:00:00 2001 From: Ruud Overeem <overeem@astron.nl> Date: Fri, 5 Aug 2005 09:28:59 +0000 Subject: [PATCH] BugID: 78 More significant numbers for doubles. --- LCS/ACC/APS/src/KVpair.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LCS/ACC/APS/src/KVpair.cc b/LCS/ACC/APS/src/KVpair.cc index 005a82bd324..080c4c903ab 100644 --- a/LCS/ACC/APS/src/KVpair.cc +++ b/LCS/ACC/APS/src/KVpair.cc @@ -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 } -- GitLab