tao-test/app/vendor/respect/validation/docs/rules/FloatVal.md

21 lines
326 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# FloatVal
- `v::floatVal()`
Validates a floating point number.
```php
v::floatVal()->validate(1.5); // true
v::floatVal()->validate('1e5'); // true
```
***
See also:
* [BoolType](BoolType.md)
* [BoolVal](BoolVal.md)
* [FloatType](FloatType.md)
* [IntType](IntType.md)
* [IntVal](IntVal.md)
* [Type](Type.md)