From 2bb661345265cb3d6cc07644537c3bac24d6cd7e Mon Sep 17 00:00:00 2001 From: John Crisp Date: Mon, 14 Apr 2025 10:54:37 +0200 Subject: [PATCH] Update NumberFormat.php Add format number with thousands separator and no decimal "#,##0'" --- src/PhpSpreadsheet/Style/NumberFormat.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PhpSpreadsheet/Style/NumberFormat.php b/src/PhpSpreadsheet/Style/NumberFormat.php index 9c9a54560e..37077f8f76 100644 --- a/src/PhpSpreadsheet/Style/NumberFormat.php +++ b/src/PhpSpreadsheet/Style/NumberFormat.php @@ -16,6 +16,7 @@ class NumberFormat extends Supervisor const FORMAT_NUMBER_00 = '0.00'; const FORMAT_NUMBER_COMMA_SEPARATED1 = '#,##0.00'; const FORMAT_NUMBER_COMMA_SEPARATED2 = '#,##0.00_-'; + const FORMAT_NUMBER_COMMA_SEPARATED3 = '#,##0'; const FORMAT_PERCENTAGE = '0%'; const FORMAT_PERCENTAGE_0 = '0.0%';