v::numericVal()
Validates on any numeric value.
v::numericVal()->validate(-12); // true v::numericVal()->validate('135.0'); // true
See also: