Min and max value validation function checking if parameter is integer