/**
  * {@inheritdoc}
  * @return mixed
  */
 public function getValue()
 {
     if ($this->limit == 1) {
         return current($this->value);
     }
     return parent::getValue();
 }
 /**
  * {@inheritDoc}
  * @return float
  */
 public function getValue()
 {
     return floatval(parent::getValue());
 }