mqtt decimals: remove trailing zeros

This commit is contained in:
MichaelDvP
2026-01-08 21:18:16 +01:00
parent 82d160cabb
commit 34ff5f12ea
2 changed files with 18 additions and 7 deletions

View File

@@ -88,6 +88,8 @@ class Helpers {
#ifdef EMSESP_STANDALONE
static char * ultostr(char * ptr, uint32_t value, const uint8_t base);
#endif
private:
static char * remove_trailing_zero(char * result);
};
} // namespace emsesp