original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Checks if the content of the element is decimal
  @param string $name Name of the element to filter
  @param  array $options Keys may include [message]
  @return boolean
docstring_tokens: Checks if the content of the element is decimal