Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SmartRestUnitTest MbedSmartRest MbedSmartRestStreaming
Revision 1:3e7b4c9e0821, committed 2014-04-16
- Comitter:
- vwochnik
- Date:
- Wed Apr 16 08:30:49 2014 +0000
- Parent:
- 0:744801d5734d
- Commit message:
- fix
Changed in this revision
| FloatValue.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/FloatValue.cpp Mon Mar 24 09:57:40 2014 +0000
+++ b/FloatValue.cpp Wed Apr 16 08:30:49 2014 +0000
@@ -69,7 +69,7 @@
if (_number > 4294967040.0) return sink.write("ovf");
if (_negative)
- sink.write('-');
+ n += sink.write('-');
double number = _number, rounding = 0.5;
for (uint8_t i = 0; i < _digits; ++i)