title: How to set money format in PhpSpreadSheet?
body: <p>I'm using PHPSpreadSheet and I want to set money format for a cell.
  In PHPExcel you can do this by using the following lines...</p>
  
  <pre><code>$this-&gt;phpExcelObject-&gt;getActiveSheet()
       -&gt;getStyle('D4')
       -&gt;getNumberFormat()
       -&gt;setFormatCode(\PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE);
  </code></pre>
  
  <p>I tried to this in PHPSpreadSheet, this is what i did...</p>
  
  <pre><code>$this-&gt;spreadsheet-&gt;getActiveSheet()
       -&gt;getStyle('D4')
       -&gt;getNumberFormat()
       -&gt;setFormatCode('$ #,##0.00');
  </code></pre>
  
  <p>But it doesn't work.
  Any ideas? or am I doing it wrong?
  Thanks in advance.</p>