setNumber
JSON::Node::setNumber
Sets the value of a Number Node.
Declaration
void setNumber(float number);
Parameters
Name |
Type |
Description |
---|---|---|
number |
float |
The value to set for the JSON::Node. |
Returns
None.
Notes
This function can only be called on a JSON::Node with the Number JSON::Type.