21 lines
326 B
Markdown
21 lines
326 B
Markdown
|
# 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)
|