kopian

Files at this revision

API Documentation at this revision

Comitter:
irsanjul
Date:
Thu Jan 30 07:42:35 2020 +0000
Parent:
4:10a99cdf7846
Commit message:
copy dari orang lain

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	Thu Jan 30 07:42:35 2020 +0000
@@ -88,7 +88,7 @@
         }
         case TypeDouble:    {
             char buf[10];
-            sprintf(buf, "%f", _value.asDouble);
+            sprintf(buf, "%.3f", _value.asDouble);
             return buf;
         }
         default: