protected function numRangeCheck($value, $min, $max)
    {
        if ($min !== null && $value < $min)
            return false;
        if ($max !== null && $value > $max)
            return false;
        return true;
    }
protected function numRangeCheck($value, $min, $max)
    {
        if ($min !== null && $value < $min)
            return false;
        if ($max !== null && $value > $max)
            return false;
        return true;
    }
protected function numRangeCheck ( $ value , $ min , $ max ) { if ( $ min !== null && $ value < $ min ) return false ; if ( $ max !== null && $ value > $ max ) return false ; return true ; }
Check if the numeric value is between the configured minimum and maximum
@param numeric $value The value to compare
@param numeric $min The minimum value
@param numeric $max The maximum value
@return bool True when the value is in range, false if it is out of range
Check if the numeric value is between the configured minimum and maximum