Calculating a percentage from non-standard numbers in Javascript
<p><code>50, 25, 13</code></p>

<p>and I would like to know how to calculate what <code>25</code> is as a percentage of the total amount (which is 88... 50 + 25 + 13...).</p>

<p>Thanks!</p>
