I am trying to compare two values in an if statement using the greater than operator <. This isn't working. I get a negative response regardless of the data entered. Any help would be appreciated.
If minimum > dbRate Then
response.write("The entered number is bigger <br>")
response.write("The entered number is smaller <br>")
response.write(minimum & " is what was entered, compared to what is in the valid rate "& dbRate & "<br>")
And for the values entered where minimum = 200 and dbRate = 216 I get this response
The entered number is bigger
200 is what was entered, compared to what is in the valid rate 216.
Just wondering if I am using the wrong operators. Or how I can get this to work.