Node.setDouble

void setDouble(double value)

Sets value as the double content of the node, replacing any existing content.

It is an error to call this on an immutable node, or on a node which is not a value node.

Parameters

valuea double value