title: Voting percentage calculation error
body: <p>I have created a php program where user can can vote on polls and after that, the poll result will displayed with only percentage, however I am facing an error in my program. <br> Code which I am using for percentage calculation is <br> <code>&lt;?php echo round(($num_votes / $total_votes) * 100) ?&gt;</code><br>
  <br> Now If we talk about a sample poll result, assume we have five options <br>
  <code>option A - 4 votes</code><br>
  <code>option B - 2 votes</code><br>
  <code>option C - 4 votes</code><br>
  <code>option D - 1 votes</code><br>
  <code>option E - 0 votes</code><br>
  Total votes  = <code>11</code> <br><br>
  In this scenario the percentage result generating is  <br>
  <code>option A - 36%</code><br>
  <code>option B - 18%</code><br>
  <code>option C - 36%</code><br>
  <code>option D - 9%</code><br>
  <code>option E - 0%</code><br><br>But the total of percentage is <code>99%</code> instead of <code>100%</code>. What I want is total should always be <code>100%</code><br> Any help would be appreciated<br>
  Thanks.</p>