Skip to content

Commit 6cda3a7

Browse files
committed
MAGETWO-99152: Special Prices cannot save over 4 characters in Japanese Yen - The comma separator seems to be the issue
1 parent 123b009 commit 6cda3a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ public function getNumber($value)
9494
$value = str_replace(
9595
',',
9696
$locale === self::JAPAN_LOCALE_CODE ? '' : '.',
97-
$value);
97+
$value
98+
);
9899
}
99100

100101
return (float)$value;

0 commit comments

Comments
 (0)