# GreaterThan

`Zend_Validate_GreaterThan` allows you to validate if a given value is greater than a minimum border value.

## Zend_Validate_GreaterThan supports only number validation

It should be noted that Zend_Validate_GreaterThan supports only the validation of numbers. Strings or dates can not be validated with this validator.

## Supported options for Zend_Validate_GreaterThan

The following options are supported for `Zend_Validate_GreaterThan`:

- min: Sets the minimum allowed value.

## Basic usage

To validate if a given value is greater than a defined border simply use the following example.

    $valid  = new Zend_Validate_GreaterThan(array('min' => 10));
    $value  = 10;
    $return = $valid->isValid($value);
    // returns true

The above example returns `TRUE` for all values which are equal to 10 or greater than 10.