title: PHP calculate percentages
body: <p>I need some help. It's a simple code, but I don't have idea how to write in down. I have the numbers:</p>
  
  <pre><code>$NumberOne = 500;
  $NumberTwo = 430;
  $NumberThree = 150;
  $NumberFour = 30; 
  </code></pre>
  
  <p>At all this is:</p>
  
  <pre><code>$Everything = 1110; // all added
  </code></pre>
  
  <p>Now I want to show what percentage is for example $NumberFour of everything or what percentage is $NumberTwo of $Everything. So the "market share". </p>