tc39 / proposal-intl-formatToParts

Intl 402 spec proposal for {DateTimeFormat,Number}.prototype.formatToParts
17 stars 17 forks source link

Force sign when formatting numbers #7

Closed acontreras89 closed 4 years ago

acontreras89 commented 4 years ago

Since NumberFormat.formatToParts already defines a plusSign type, it would be handy to be able to force the inclusion of the sign when formatting numbers.

See ICU sign-always Number Skeletons.

longlho commented 4 years ago

This is already in the spec as signDisplay: always