Sets node's value
float $value Value:
$this
Overrides Literal::setValue
public function setValue($value) { $value = (double) $value; $intValue = (int) $value; if ($value == $intValue) { $value = $intValue; } $this->value = $value; //Force recalculation of the raw value return $this->setFormat($this->format); }