mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 04:52:22 +02:00
Added overload to add() to specify the double precision
This commit is contained in:
@ -23,6 +23,11 @@ public:
|
||||
add(JsonValue(value));
|
||||
}
|
||||
|
||||
void add(double value, int digits=2)
|
||||
{
|
||||
add(JsonValue(value, digits));
|
||||
}
|
||||
|
||||
void add(JsonValue value)
|
||||
{
|
||||
if (itemCount >= N) return;
|
||||
|
Reference in New Issue
Block a user