* * * * @package Workflow * @version 1.3.1 */ class ezcWorkflowConditionIsFloat extends ezcWorkflowConditionType { /** * Evaluates this condition and returns true if $value is a float or false if not. * * @param mixed $value * @return boolean true when the condition holds, false otherwise. * @ignore */ public function evaluate( $value ) { return is_float( $value ); } /** * Returns a textual representation of this condition. * * @return string * @ignore */ public function __toString() { return 'is float'; } } ?>