Forums

This topic is locked

If Then Statement (ASP/Javascript)

Posted 06 Jun 2002 17:15:27
1
has voted
06 Jun 2002 17:15:27 Wil Turrin posted:
I'm trying to make a session value for mileage calculate the cost of the mileage.

I can get it to work with:

<% Session("CalcMileage"=Session("ConfMileage"*.31%>

but I need to test it against three different values. I've tried to string together an If Else statement, but I've butchered it horribly. I have the user inputting the variables which determine the conversion rate to apply, but I need a bit of help stringing the statement together.

Please help!

Reply to this topic