public function getDecimal() { $this->checkState(); if ($this->type !== PropertyType::DECIMAL) { return $this->valueConverter->convertType($this->value, PropertyType::DECIMAL, $this->type); } return $this->value; }