mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
round2 use float instead of double (6 point precision is enough)
This commit is contained in:
@@ -50,7 +50,7 @@ class Helpers {
|
||||
static uint16_t atoint(const char * value);
|
||||
static bool check_abs(const int32_t i);
|
||||
static uint32_t abs(const int32_t i);
|
||||
static double round2(double value, const uint8_t divider);
|
||||
static float round2(float value, const uint8_t divider);
|
||||
static std::string toLower(std::string const & s);
|
||||
static std::string toUpper(std::string const & s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user