For a guide to the choosing ASP or PHP, click here
Home >> Math >> Subtracting Numbers Using Variables This code shows how to simply subtract numbers that are stored in variables
<% ' declare variables dim intFirst, intSecond, intTotal ' this sets the variable intFirst to 5 and ' the variable intSecond to 10 intFirst = 5 intSecond = 10 ' now subtract intFirst from intSecond and save the ' result to the variable intTotal intTotal = intSecond - intFirst %> What is ASP?
What is PHP?