Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Rounding Behavior in Compact Notation #9

@sffc

Description

@sffc

ICU overrides the default rounding strategy when compact notation is used. ICU's compact rounding strategy is to round to the nearest integer, except to add a single digit after a decimal separator if to ensure there are always at least two significant digits shown:

  • 1.2K
  • 12K
  • 123K
  • 1.2M
  • 12M
  • 123M

Should this rounding strategy be defaulted when compact notation is used in ECMAScript, or should the default rounding strategy of 3 fraction digits be used, and leave it up to the user to override it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions