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
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Created |
See also:
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
| Version | Description |
|---|---|
| 1.0.0 | Created |
See also: