From af620f891402df40f9f53ead9986513820e8c08e Mon Sep 17 00:00:00 2001 From: saeid ezzati Date: Mon, 21 Oct 2024 16:40:38 +0330 Subject: [PATCH] Update NumberFormatter.php In the function convertENotationToRegularNumber, if the numeric value passed to number_format is very small, it returns 0. To solve the issue, sprintf was used. --- php/src/NumberFormatter.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php/src/NumberFormatter.php b/php/src/NumberFormatter.php index 01fa360..5f7ef33 100644 --- a/php/src/NumberFormatter.php +++ b/php/src/NumberFormatter.php @@ -1,5 +1,5 @@