diff --git a/LCS/ACC/APS/src/KVpair.cc b/LCS/ACC/APS/src/KVpair.cc
index 005a82bd324f9c1f0f42014aee0f5d555fb18f61..080c4c903abaecd3e8138c4d26e5b3e417f7d7b1 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
 }