To reproduce, try the following: new Intl.NumberFormat('en-US', {style: 'currency', currency: 'USD', notation: 'compact', maximumFractionDigits: 2, compactDisplay: 'long'}).format(97896) Safari output: "$98K" Firefox and Chrome output: "$97.90K" new Intl.NumberFormat('en-US', {style: 'decimal', notation: 'compact', maximumFractionDigits: 2, compactDisplay: 'long'}).format(97896) Safari output: "98 thousand" Firefox and Chrome output: "97.9 thousand"
There is also no tests on WPT covering this: Intl.NumberFormat https://wpt.fyi/results/?label=master&label=experimental&aligned&view=subtest&q=maximumfractiondigits
(In reply to Karl Dubost from comment #1) > There is also no tests on WPT covering this: Intl.NumberFormat > https://wpt.fyi/results/ > ?label=master&label=experimental&aligned&view=subtest&q=maximumfractiondigits Intl.NumberFormat is not web API. It is test262's job to cover that.
We should apply the spec side change.
<rdar://problem/101298045>
Pull request: https://github.com/WebKit/WebKit/pull/5501
Committed 255691@main (9c113c3fb2ab): <https://commits.webkit.org/255691@main> Reviewed commits have been landed. Closing PR #5501 and removing active labels.
*** Bug 249231 has been marked as a duplicate of this bug. ***