Show more decimals in Display, if possible

_123, -123, _-12, __-1  plus  1234, 12.3, -1.2
This commit is contained in:
Guthenberg
2016-12-01 15:40:57 +01:00
committed by Scott Lahteine
parent 1e30d1da47
commit bfb8d3b53e
2 changed files with 26 additions and 2 deletions

View File

@ -69,8 +69,8 @@ void safe_delay(millis_t ms);
// Convert float to rj string with 123 or -12 format
FORCE_INLINE char *ftostr3(const float& x) { return itostr3((int)x); }
// Convert float to rj string with _123, -123, _-12, or __-1 format
FORCE_INLINE char *ftostr4sign(const float& x) { return itostr4sign((int)x); }
// Convert float to rj string with 1234, _123, 12.3, _1.2, -123, _-12, or -1.2 format
char *ftostr4sign(const float& fx);
#endif // ULTRA_LCD