Classes/Validators/FloatValidator.php
protected function isValid($value)
    {
        if (is_null($value) || is_float($value) || is_int($value)) {
            return;
        }
        $this->addError('A valid float is expected.', 1514998717);
    }
protected function isValid($value)
    {
        if (is_null($value) || is_float($value) || is_int($value)) {
            return;
        }
        $this->addError('A valid float is expected.', 1514998717);
    }
protected function isValid ( $ value ) { if ( is_null ( $ value ) || is_float ( $ value ) || is_int ( $ value ) ) { return ; } $ this -> addError ( 'A valid float is expected.' , 1514998717 ) ; }
Checks if the given value is a valid float.

@param mixed $value The value that should be validated
@return void
Checks if the given value is a valid float .