I need to compare a variable to a grid of numbers using ASP. If the variable is less than 10, it will set "fee" to 10. If the variable is equal to 10 but less than 100, it will set "fee" to 50. If the variable is greater or equal to 100, it will set "fee" to 100.
What's the best way to write this in ASP?
I've tried
<% Dim fee
If x < 10 then fee = 10
If x =>10 and <100 then fee = 50
If x = >=100 then fee = 100
end If %>
I keep getting syntax errors or at the "end if" statement I get an "expected statement" error.
Any help is really appreciated!!!!!
