Number()
Validates if the input is a number.
v::number()->isValid(42); // true
v::number()->isValid(acos(8)); // false
"In computing, NaN, standing for not a number, is a numeric data type value representing an undefined or unrepresentable value, especially in floating-point calculations." Wikipedia
- Numbers
Version | Description |
---|---|
2.0.0 | Created |
See also: