xxx
Fork of MbedJSONValue by
Revision 5:c5ca009a95e3, committed 2017-08-01
- 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 |
diff -r 10a99cdf7846 -r c5ca009a95e3 MbedJSONValue.cpp --- 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: