mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 07:45:45 +01:00
23 lines
321 B
Markdown
23 lines
321 B
Markdown
# FloatVal
|
|
|
|
- `FloatVal()`
|
|
|
|
Validates a floating point number.
|
|
|
|
```php
|
|
v::floatVal()->validate(1.5); // true
|
|
v::floatVal()->validate('1e5'); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
1.0.0 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [FloatType](FloatType.md)
|
|
- [IntType](IntType.md)
|
|
- [IntVal](IntVal.md)
|