forked from bblanchon/ArduinoJson
Test casting a JsonValue to a double
This commit is contained in:
@ -69,6 +69,11 @@ namespace ArduinoJson
|
||||
return "";
|
||||
}
|
||||
|
||||
operator double()
|
||||
{
|
||||
return content.asDouble;
|
||||
}
|
||||
|
||||
operator int()
|
||||
{
|
||||
return content.asLong;
|
||||
|
Reference in New Issue
Block a user