public static function numeric($value, $message = null, $propertyPath = null)
{
if (!is_numeric($value)) {
$message = sprintf($message ?: 'Value "%s" is not numeric.', static::stringify($value));
throw static::createException($value, $message, static::INVALID_NUMERIC, $propertyPath);
}
return true;
}