title: Laravel 5.4 Maatwebsite Excel set column format to number
body: <p>I'm trying to set the column/cell type to number. I'm getting "Number stored as text". I tried several combinations but none have any effect.</p>
  
  <pre><code>return Excel::create('Orders', function ($excel) use ($data) {
      $excel-&gt;setTitle('Open orders');
      $excel-&gt;setKeywords('orders, excel, export');
  
  $excel-&gt;sheet('Open orders', function ($sheet) use ($data) {
   // $sheet-&gt;getStyle('C2:C10')-&gt;getNumberFormat()-&gt;setFormatCode('0.00'); // no effect
  //    $sheet-&gt;setColumnFormat(array('C2:C10' =&gt; '0')); // no effect
  $sheet-&gt;setColumnFormat(array('C2:C10' =&gt; '#0')); // no effect
  // $sheet-&gt;getStyle('C2:C10')-&gt;getNumberFormat()-&gt;setFormatCode('$#,###'); // no effect
  
              $sheet-&gt;fromArray($data);
              $sheet-&gt;freezeFirstRow();
              $sheet-&gt;row(1, function ($row) {
              $row-&gt;setBackground('#aaffaa');
              $row-&gt;setBorder('solid', 'none', 'none', 'solid');
              });
          });
      })-&gt;download($type);
  }
  </code></pre>
  
  <p>Any idea what I'm doing wrong?</p>