respect-validation/docs/Numeric.md

19 lines
265 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Numeric
- `v::numeric()`
Validates on any numeric value.
```php
v::numeric()->validate(-12); // true
v::numeric()->validate('135.0'); // true
2015-01-30 09:40:06 +01:00
```
***
2015-01-30 09:40:06 +01:00
See also:
* [Digit](Digit.md)
2015-08-20 05:35:43 +02:00
* [Finite](Finite.md)
2015-08-20 05:43:17 +02:00
* [Infinite](Infinite.md)
2015-10-07 16:46:57 +02:00
* [IntVal](IntVal.md)