Fix typo...

This commit is contained in:
Roxy-3D 2020-03-28 09:53:04 -05:00 committed by GitHub
parent 747b964295
commit 2f7e5cf7dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);