FloatType

  • FloatType()

Validates whether the type of the input is float.

v::floatType()->validate(1.5); // true
v::floatType()->validate('1.5'); // false
v::floatType()->validate(0e5); // true

Categorization

  • Numbers
  • Types

Changelog

Version Description
1.0.0 Created

See also: