Uploaded image for project: 'CLDR'
  1. CLDR-9997

Locales 'it' and 'gl' should add grouping separators on Compact Decimal Format below 1M

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: major
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: 31
    • Components: numbers
    • Labels:
      None
    • tracReporter:
    • tracOwner:
      mark
    • tracResolution:
      fixed
    • tracStatus:
      closed
    • phase:
      spec-beta
    • tracCc:
      pedberg

      Description

      The decimal formats for these locales on compact decimal format numbers less than 1M are currently "0". This means that a number like 123456 produces the output "120000", when "120.000" (with a grouping separator) might be more appropriate. I see two choices to solve this problem:

      1. Add the grouping separator to the compact decimal format patterns for 5 digits and 6 digits, like "00,000" and "000,000".
      2. Change the CLDR spec to say specifically that if the pattern is "0", then the implementation should fall back to the default decimal pattern for that locale.

      Partially related: #9747, #9893

      GoogleIssue:34187535

        Attachments

          Activity

            People

            • Assignee:
              mark.edward.davis Mark Davis
              Reporter:
              apibot TracBot
              Reviewer:
              Shane Carr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                tracCreated: