Using the number validation you can check if the user entered an integer or a real number as required. The value can be range checked using the minimum and/or the maximum setting.
Below are the dumps of some PHP variables - submit the form to see the changes!
Contents of the $_POST array:
$_POST = array (
)
Results of a $clonefish->getElementValues() call: array ( 'number' => NULL, 'real' => NULL, 'intmin5' => NULL, 'id' => 'validnumber', )