title: How can I custom number format in laravel excel maatwebsite?
body: <p>I read in this tutorial : <a href="https://laravel-excel.maatwebsite.nl/3.0/exports/column-formatting.html" rel="nofollow noreferrer">https://laravel-excel.maatwebsite.nl/3.0/exports/column-formatting.html</a></p>
  
  <p>My script export like this : </p>
  
  <pre><code>namespace App\Exports;
  ...
  use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
  use Maatwebsite\Excel\Concerns\WithColumnFormatting;
  class SummaryExport implements WithColumnFormatting
  {
      ...
      public function columnFormats(): array
      {
          return [
              'H' =&gt; NumberFormat::FORMAT_NUMBER_COMMA_SEPARATED2
      }
  }
  </code></pre>
  
  <p>For example the real value = 30132,7531</p>
  
  <p>If I use the format in my script above, it will to be : 30.132,75</p>
  
  <p>It doesn't match the format I want</p>
  
  <p>I want the format like this : 30.133</p>
  
  <p>I try custom the format in the <code>PhpOffice\PhpSpreadsheet\Style\NumberFormat;</code></p>
  
  <p>I add this : </p>
  
  <pre><code>const FORMAT_NUMBER_CUSTOM = '#,##0';
  </code></pre>
  
  <p>And I add the const to my script above, it works, the result 30.133</p>
  
  <p>I want to ask whether this is the right way? And can I edit the number format inside the vendor folder?</p>
  
  <p>This <code>PhpOffice\PhpSpreadsheet\Style\NumberFormat;</code> located in vendor folder</p>