Previous Page
locale()

Solar_Filter_ValidateNumeric
validateNumeric()

Next Class
Solar_Filter_ValidatePregMatch

validateNumeric()

public bool validateNumeric ( mixed $value )

Validates that the value is numeric (any number or number string).

Parameters

  • (mixed) $value: The value to validate.

Returns

  • (bool) True if valid, false if not.

Description

Validates that the value is numeric (any number or number string).