How do I do simple addition in asp?

1. davehutch Guest

## How do I do simple addition in asp?

I need to add a couple of numbers together.<BR><BR>They are called like.<BR>&#060;%<BR>If Request.QueryString("price")&#060;&#062;"" Then<BR> Response.Write (Request.QueryString("price"))<BR>End If<BR>%&#062;<BR><BR>I need to add 2 of these feilds together then divide by<BR>11 to get 10% for tax.<BR>

2. Senior Member
Join Date
Dec 1969
Posts
474

## RE: How do I do simple addition in asp?

3. davehutch Guest

I dont know the actual code required?

4. duh
Junior Member
Join Date
Dec 1969
Posts
19

## answer = (Field1 + Field2) / 10

.

5. davehutch Guest

## thanks guys

thanks guys

6. zeg
Senior Member
Join Date
Dec 1969
Posts
141

## RE: How do I do simple addition in asp?

To calculate GST you take the price, then add 10%<BR>If you only have the price with GST and need to find the tax, divide it by 11. What are you adding to the price, before dividing by 11?<BR>

#### Posting Permissions

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