Browse Source

Fix typo...

Roxy-3D 4 years ago
parent
commit
2f7e5cf7dd
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/libs/numtostr.cpp

+ 1
- 1
Marlin/src/libs/numtostr.cpp View File

@@ -312,7 +312,7 @@ const char* ftostr52sign(const float &f) {
312 312
 
313 313
 // Convert signed float to string with +12.345 format
314 314
 const char* ftostr53sign(const float &f) {
315
-  long i = (f * 1000 + (f < 0 ? -5: 5)) / 10;
315
+  long i = (f * 10000 + (f < 0 ? -5: 5)) / 10;
316 316
   conv[0] = MINUSOR(i, '+');
317 317
   conv[1] = DIGIMOD(i, 10000);
318 318
   conv[2] = DIGIMOD(i, 1000);

Loading…
Cancel
Save