FloatVal()
Validate whether the input value is float.
v::floatVal()->validate(1.5); // true v::floatVal()->validate('1e5'); // true
See also: