xxx

Fork of MbedJSONValue by Samuel Mokrani

Revision:
5:c5ca009a95e3
Parent:
3:f2ffae08b963
--- a/MbedJSONValue.cpp	Thu Sep 22 10:57:37 2011 +0000
+++ b/MbedJSONValue.cpp	Tue Aug 01 08:09:03 2017 +0000
@@ -88,7 +88,7 @@
         }
         case TypeDouble:    {
             char buf[10];
-            sprintf(buf, "%f", _value.asDouble);
+            sprintf(buf, "%.3f", _value.asDouble);
             return buf;
         }
         default: