Converting to a percent

Reply

Join Date: Dec 2007
Posts: 1
Reputation: Curt69x is an unknown quantity at this point 
Solved Threads: 0
Curt69x Curt69x is offline Offline
Newbie Poster

Converting to a percent

 
0
  #1
Dec 24th, 2007
How do I convert the result of intBtnClkCount1 += 1 to a percent?

I want to result to display the results of single votes and divide them against total votes of 50.

Curt
Last edited by Curt69x; Dec 24th, 2007 at 1:19 pm.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 464
Reputation: invisal is a jewel in the rough invisal is a jewel in the rough invisal is a jewel in the rough 
Solved Threads: 49
invisal's Avatar
invisal invisal is offline Offline
Posting Pro in Training

Re: Converting to a percent

 
0
  #2
Dec 24th, 2007
Percentage = Vote/Total_Vote * 100
Yesterday is a history, tomorrow is a mystery, today is a gift.
Behind every smile is a tear.
Visal .In
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC