title: PHP Math Percentage
body: <p>Hi I've been rattling my brain to solve this.</p>
  
  <p>imagine 100%</p>
  
  <p>we have 2 numbers</p>
  
  <p>6788.08 &amp; 11629.60</p>
  
  <p>how do I get the percentage of each number.</p>
  
  <p>for example I think</p>
  
  <p>100% </p>
  
  <p>10 &amp; 100</p>
  
  <p>10% &amp; 90%</p>
  
  <p>is the example correct? I haven't a clue on how to get the 2 ratios in %</p>