Node.initDouble

Initializes node to json.types.NodeType.Value and sets value into it.

If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.

class Node
initDouble
(
double value
)

Parameters

value double

a floating point value

Return Value

Type: json.node.Node

the initialized node