For a guide to the choosing ASP or PHP, click here
Home >> Variables >> Convert String to an Integer This code sample will demonstrate how to convert a string variable to an integer variable
<% ' declare variables dim ourString, ourInteger ' set the value ourString = "125" ' save the string value to our ' integer variable as an integer ourInteger = cint(ourString) ' ourInteger now holds 125 as ' an integer, not a string %> What is ASP?
What is PHP?