mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-21 04:32:09 +02:00
round real value with 2 decimal on server sync data json
This commit is contained in:
@ -107,6 +107,14 @@ public:
|
||||
*/
|
||||
String getVersion(void);
|
||||
|
||||
/**
|
||||
* @brief Round double value with for 2 decimal
|
||||
*
|
||||
* @param valuem Round value
|
||||
* @return double
|
||||
*/
|
||||
double round2(double value);
|
||||
|
||||
private:
|
||||
BoardType boardType;
|
||||
};
|
||||
|
Reference in New Issue
Block a user