public function setValue($value)
    {
        $this->value = number_format($value, 6, '.', '');

        if (strlen((string)$this->value) > 19) {
            throw new \Exception('Value too long');
        }

        return $this;
    }
public function setValue($value)
    {
        $this->value = number_format($value, 6, '.', '');

        if (strlen((string)$this->value) > 19) {
            throw new \Exception('Value too long');
        }

        return $this;
    }
@param $value

@throws \Exception

@return $this