getNumber

JSON::Node::getNumber

Returns the number contained in a Number Node.

Declaration

float getNumber() const;

Parameters

None.

Returns

The value of a Number JSON::Node.

Notes

This function can only be called on a JSON::Node with the Number JSON::Type.