🚸 12345.6 num-to-string
This commit is contained in:
@@ -113,8 +113,8 @@ const char* ftostr52sign(const_float_t x);
|
||||
// Convert signed float to string with +12.345 format
|
||||
const char* ftostr53sign(const_float_t f);
|
||||
|
||||
// Convert unsigned float to string with 1234.5 format omitting trailing zeros
|
||||
const char* ftostr51rj(const_float_t x);
|
||||
// Convert unsigned float to string with 12345.6 format omitting trailing zeros
|
||||
const char* ftostr61rj(const_float_t x);
|
||||
|
||||
// Convert float to rj string with 123 or -12 format
|
||||
FORCE_INLINE const char* ftostr3(const_float_t x) { return i16tostr3rj(int16_t(x + (x < 0 ? -0.5f : 0.5f))); }
|
||||
|
||||
Reference in New Issue
Block a user