FloatVal

  • v::floatVal()

Validates a floating point number.

v::floatVal()->validate(1.5); // true
v::floatVal()->validate('1e5'); // true

See also: