syntax for multiplication?

1. Senior Member
Join Date
Dec 1969
Posts
422

## syntax for multiplication?

hello,<BR>I just want to know th syntax for multiplication,<BR>like A x 2 = B kinda thing?

2. Senior Member
Join Date
Dec 1969
Posts
1,765

## RE: syntax for multiplication?

Dim intTotalArea<BR>Dim intWidth<BR>Dim intHeight<BR><BR>intTotalArea = intWidth * intHeight<BR><BR>You mean this?

3. Senior Member
Join Date
Dec 1969
Posts
120

## RE: syntax for multiplication?

use * to multiply 2 numbers

4. Senior Member
Join Date
Dec 1969
Posts
1,765

## Faster young grasshopper

LoL

5. Senior Member
Join Date
Dec 1969
Posts
422

## RE: syntax for multiplication?

hmm,, ok and how would I use that with this line: <BR>&#060;%=Round(varPercent,1)%&#062; ???

6. Senior Member
Join Date
Dec 1969
Posts
1,765

## Hmmmm...Perhaps you could

elaborate a little?

7. Senior Member
Join Date
Dec 1969
Posts
422

## RE: Hmmmm...Perhaps you could

ok here&#039;s what I&#039;m doing,<BR>I&#039;ve made a top10 list, that shows a graph, but since all of the poll options that have very low percentages, I want to make the graph bars larger, twice the size so that you can see them a little better since there so small,<BR>any way,<BR>here is the code that I&#039;m using:<BR><BR><BR>&#060;%<BR>totel = rs("votes")/total2<BR>varPercent = totel * 100<BR>%&#062;<BR>&#060;%=Round(varPercent,1)%&#06 2;<BR><BR>so how can I double the results,,?

8. Senior Member
Join Date
Dec 1969
Posts
1,765

## RE: Hmmmm...Perhaps you could

I don&#039;t see why not, as long as you are constistent. Make sure the results for all are doubled or else, you&#039;ll have inaccurate data.

9. Senior Member
Join Date
Dec 1969
Posts
422

## RE: Hmmmm...Perhaps you could

ok thankz, I figured it out:-)

#### Posting Permissions

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