Mathematical Operator (addition) Problem. Pls help

1. Junior Member
Join Date
Dec 1969
Posts
10

## Mathematical Operator (addition) Problem. Pls help

2. Junior Member
Join Date
Dec 1969
Posts
10

## RE: Correction :Mathematical Operator (addition) P

Please note that the addition (+) and not the subtraction (-) sign is supposed to be in the comfort1.asp equation. The comfort1.asp code is as follows:<BR><BR> &#060;%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%&#062;<BR>&#060;% Option Explicit %&#062;<BR>&#060;% Dim iTa, iTr, iVl, iRH, iCl, iM1, iPMV<BR><BR>iTa = Request("Ta")<BR>iTr = Request("Tr")<BR>iVl = Request("Vl")<BR>iRH = Request("RH")<BR>iCl = Request("Cl")<BR>iM1 = Request("M1")<BR><BR><BR>%&#062;<BR><BR>&#060;html &#062;<BR>&#060;head&#062;<BR>&#060;title&#062;Unt itled Document&#060;/title&#062;<BR>&#060;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&#062;<BR>&#060;/head&#062;<BR><BR>&#060;body&#062;<BR>&#060;% iPMV = (iTa + iTr + iVl + iRH + iCl + iM1) %&#062;<BR>&#060;% Response.Write(iPMV)<BR><BR> %&#062;<BR>&#060;/body&#062;<BR>&#060;/html&#062;<BR>

3. Senior Member
Join Date
Dec 1969
Posts
449

## Fairly straight forward

&nbsp;<BR>iTa = Request.form("Ta") is a string value<BR><BR>so when you do "string1" + "string2" vb will concatenate them <BR><BR>do this for each of your variables<BR><BR>iTa = CInt(Request.form("Ta"))

4. Junior Member
Join Date
Dec 1969
Posts
10

## RE: Fairly straight forward

Thanks James. You just saved me a lot of time. This speeds up my work. Thanks again

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•