yaronbb -> Problam with "if then" statment (4/7/2007 18:52:44)
Hi to all I am trying to have this on the page " <% if Request("Value1") > Request("Value2") then %>yes<%else%>no<%end if%>" When for example : Value1 = 43 and Value2 = 6 and the result that I get is "no" Any idea why?
Spooky -> RE: Problam with "if then" statment (4/8/2007 20:14:40)
Do a numerical comparision like so :
<% if cint(Request("Value1")) > cint(Request("Value2")) then %>yes<%else%>no<%end if%>