Skip to content

Commit a311ec3

Browse files
author
Anna Bukatar
committed
ACP2E-541: Arabic Store Price Currency Error
1 parent c874e08 commit a311ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Locale/LocaleFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getLocaleJs(): string
5151
*/
5252
public function formatNumber($number)
5353
{
54-
if (!is_float($number) || !is_int($number)) {
54+
if (!is_float($number) && !is_int($number)) {
5555
$number = (int) $number;
5656
}
5757

0 commit comments

Comments
 (0)