public function decimal(array $options) {
        if (ctype_digit($this->elementData))
            return true;

        $this->addError($this->checkMessage('Value can only contain numbers and a dot', $options));
        return false;
    }