flooring values does not calculate to 100 percent
<pre><code>--------------------------
Fruit                Trees
--------------------------
Apple                1098
Banana                500
Grapes                460
--------------------------
TOTAL                2058
--------------------------
</code></pre>

<p>Now, I want to find out, in form of percentage, how many trees are there for each fruit type. So, this is what I did</p>

<pre><code>---------------------------------------------------------
 Apple              floor((1098*100)/2058)          53%
 Banana             floor(( 500*100)/2058)          24%
 Grapes             floor(( 460*100)/2058)          22%
---------------------------------------------------------
 TOTAL                                              99%
</code></pre>

<p><strong>As you can see, 1% is lost in flooring values</strong></p>

<p>I need logic in a way that whatever the values are for each fruit, total should get to 100%.
<strong>Above one is SAMPLE DATA, number of tree for each fruit, and number of fruits can increase or decrease.</strong></p>
