title: PHP long decimal number issue
body: <p>Im parsing xml using php and one of my variables receive a long decimal value.</p>
  
  <pre><code>$ctr = 0.00529440333938;
  </code></pre>
  
  <p>But I need to make this number as 0.52%, so I tried multiplying by 100 and forcing just 2 decimals.</p>
  
  <pre><code>$real_ctr = $ctr * 100;
  echo number_format($real_ctr, 2) . "%";
  </code></pre>
  
  <p>I get as result 0.00% instead 0f 0.52%</p>
  
  <p>And then I tried adding 1 just for testing purpose</p>
  
  <pre><code>$real_ctr = $ctr + 1;
  </code></pre>
  
  <p>and I get as result 0.005294403339381. It adds 1 at the end. </p>
  
  <p>Any suggestions how can I get around this issue?</p>