Addere to tal ud fra request form!
Hejsa!Jeg skal via ASP lægge to tal sammen via request form!
Men den viser bare de to tal i forlængelse af hinanden.
Senere hen skal det ganges med 0,40 hvilket jeg godt kan få det til!
Her er mit script:
tmp1 = Request.Form(\"leje_vhs_budget\")
tmp2 = Request.Form(\"leje_dvd_budget\")
tmp3 = Request.Form(\"koeb_vhs_budget\")
tmp4 = Request.Form(\"koeb_dvd_budget\")
tmp5 = Request.Form(\"leje_vhs_real\")
tmp6 = Request.Form(\"leje_dvd_real\")
tmp7 = Request.Form(\"koeb_vhs_real\")
tmp8 = Request.Form(\"koeb_dvd_real\")
math1 = tmp1 + tmp2
math2 = tmp5 + tmp6
math3 = math1 * 0.40
math4 = math2 * 0.40
math5 = tmp3 + tmp4
math6 = tmp7 + tmp8
math7 = math5 * 0.15
math8 = math6 * 0.15
