posiden5665 Posted September 4, 2006 Share Posted September 4, 2006 if i do a form and put this <form method="get" action="http://tgoc.atspace.com/calculators/melee.asp">Weapons Attack Value:<input type="text" name="wdamage" /><br />Blade skill:<input type="text" name="bladeskill" /><br />Luck Level:<input type="text" name="lucklevel" /><br />Strength Level:<input type="text" name="strengthlevel"v /><br /><input type="submit" value="Submit" /></form> will using it as numbers work instead of actual text cause i need to do this ModifiedSkill = Bladeskill + ( .04 * (Luck - 50) ) also i have this just like in the tutorial and its not displaying right it just displays that code and its saved as a .asp file Your weapons damage is:Response.Write(request.form("wdamage"))Your Blade Skill is:Response.Write(request.form("bladeskill"))Your Luck Level is:Response.Write(request.form("lucklevel"))Your Strength Level is:Response.Write(request.form("strengthlevel")) and if its anything like java u cant use regular text as a number.... wat im trying to say is if i use that will the text submitted be used as an number instead of letters Link to comment Share on other sites More sharing options...
aspnetguy Posted September 5, 2006 Share Posted September 5, 2006 you will have to use cint() to convert he string to an int value for addition Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now