Skip to content

Add tests for keep-trailing-zeros proposal#4608

Open
eemeli wants to merge 8 commits into
tc39:mainfrom
eemeli:keep-trailing-zeros
Open

Add tests for keep-trailing-zeros proposal#4608
eemeli wants to merge 8 commits into
tc39:mainfrom
eemeli:keep-trailing-zeros

Conversation

@eemeli
Copy link
Copy Markdown
Member

@eemeli eemeli commented Oct 29, 2025

Proposal repo: https://github.com/tc39/proposal-intl-keep-trailing-zeros

The currently proposed spec text won't satisfy all of these tests; I'll be filing a PR incorporating the required changes. Edit: This PR matches the proposal's behaviour, once tc39/proposal-intl-keep-trailing-zeros#19 is merged.

I've created a patched fork of the FormatJS Intl.NumberFormat polyfill to run these tests: https://github.com/eemeli/formatjs-for-keep-trailing-zeros

Comment thread test/intl402/NumberFormat/prototype/format/value-decimal-string-trailing-zeros.js Outdated
Comment thread test/intl402/NumberFormat/prototype/format/value-decimal-string-trailing-zeros.js Outdated
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
eemeli added a commit to tc39/proposal-intl-keep-trailing-zeros that referenced this pull request Feb 18, 2026
@eemeli eemeli requested a review from gibson042 February 19, 2026 07:28
Copy link
Copy Markdown
Member

@gibson042 gibson042 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after filling in pending front matter.

Comment thread test/intl402/NumberFormat/prototype/format/value-decimal-string-trailing-zeros.js Outdated
@eemeli eemeli requested a review from gibson042 May 16, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants