title: Percentage a Number is of Another Number
body: <p>How to find the percentage a number is of another number in PHP?</p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>$num1 = 2.6;
  $num2 = 2.6;
  // Should equal to 100%
  </code></pre>