title: Warning: number_format() expects parameter 1 to be double
body: <p>I am getting <code>Warning: number_format() expects parameter 1 to be double error</code> on my code</p>
  
  <pre><code>$tbl-&gt;addRow();
  $tbl-&gt;addCell($name);
  $tbl-&gt;addCell('$' . number_format(doubleval($price), 2,',', ' ') );
  </code></pre>
  
  <p>I know the $price is a value 15,00 which is a number. How could it be fixed? </p>