"sign-except-zero" stem computes sign before rounding

Description

The "sign-except-zero" stem appears to compute the sign-display before rounding the number, which can result in returning "+0", which looks unexpected for this sign-display type.

@
This also looks like an issue for <https://github.com/tc39/proposal-unified-intl-numberformat>, because GetNumberFormatPattern selects the pattern after rounding through FormatNumberString.

Test case:

  • Expected: Prints "0".

  • Actual: Prints "+0".

Assignee

Shane Carr

Reporter

André Bargull

Components

Labels

Reviewer

None

Priority

major

Time Needed

Hours

Fix versions

Configure