xxx

Fork of MbedJSONValue by Samuel Mokrani

Files at this revision

API Documentation at this revision

Comitter:
irsanjul
Date:
Tue Aug 01 08:09:03 2017 +0000
Parent:
4:10a99cdf7846
Commit message:
my editing. sorry for developper if it ilegal. call me if you want i delete it. thanks

Changed in this revision

MbedJSONValue.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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: