Skip to content
Snippets Groups Projects
Unverified Commit 2f7e5cf7 authored by Roxy-3D's avatar Roxy-3D Committed by GitHub
Browse files

Fix typo...

parent 747b9642
Branches
Tags
No related merge requests found
...@@ -312,7 +312,7 @@ const char* ftostr52sign(const float &f) { ...@@ -312,7 +312,7 @@ const char* ftostr52sign(const float &f) {
// Convert signed float to string with +12.345 format // Convert signed float to string with +12.345 format
const char* ftostr53sign(const float &f) { const char* ftostr53sign(const float &f) {
long i = (f * 1000 + (f < 0 ? -5: 5)) / 10; long i = (f * 10000 + (f < 0 ? -5: 5)) / 10;
conv[0] = MINUSOR(i, '+'); conv[0] = MINUSOR(i, '+');
conv[1] = DIGIMOD(i, 10000); conv[1] = DIGIMOD(i, 10000);
conv[2] = DIGIMOD(i, 1000); conv[2] = DIGIMOD(i, 1000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment