title: PHP: Max and Min returning incorrect results
body: <p>I am sure this is because of the "g" on the end but this is the scenario and results when I try and work out a ratio percent. I always want to divide the highest of 2 numbers by the lowest.</p>
  
  <pre><code>$item1 = "200.00g";
  $item2 = "50.00g";
  $calc = round((max($item1,$item2) / min($item1,$item2))*100) . "%";
  // result: $calc = "400%"
  
  $item1 = "100.00g";
  $item2 = "5.00g";
  $calc = round((max($item1,$item2) / min($item1,$item2))*100) . "%";
  // result: $calc = "2000%"
  
  PROBLEM RESULT:
  $item1 = "8.00g";
  $item2 = "14.00g";
  $calc = round((max($item1,$item2) / min($item1,$item2))*100) . "%";
  // result: $calc = "57%"
  // I am expecting (14.00g / 8.00g)*100 = "175%"
  </code></pre>