G
Guest
Why can I not compare 2 numbers?
what i have is this:
dim T as string = "101"
dim W as string = "99"
if T > W then
response.write("T is greater")
end if
if the numbers look like this is doesn't compare them. if they are both over
a 100 it works, and if they are both under 100 it works but if they are like
above it fails, how can i get this working?
I also tired the "classic asp" way and same results
what i have is this:
dim T as string = "101"
dim W as string = "99"
if T > W then
response.write("T is greater")
end if
if the numbers look like this is doesn't compare them. if they are both over
a 100 it works, and if they are both under 100 it works but if they are like
above it fails, how can i get this working?
I also tired the "classic asp" way and same results