Checks that the integer passes as a string is a valid integer and that the
value of the integer is at least equals to the value of parameter minvalue
or is greater than the value of minvalue.
Checks that the integer passes as a string is a valid integer and that the
value of the integer is at least equals to the value of parameter maxvalue
or is smaller than the value of maxvalue.