Formatting a Number Range

Marcel Schneider via CLDR-Users cldr-users at
Thu Nov 22 00:31:09 CST 2018

On 22/11/2018 01:41, Kip Cole via CLDR-Users wrote:
> In TR35 section 2.4.1 I see:
>> Formats can be supplied for numbers (as above) or for currencies or
>> other units. They can also be used with ranges of numbers,
>> resulting in formatting strings like “$10K” or “$3–7M”.
> However other than the more generic miscellaneous format for a range
> (typically “{0}-{1}”) I’m unclear how I would format a range using
> the example above.
> I can see formatting each end of the range of course, and combining
> using the range format “{0}-{1}”.  But I’ve no idea how to resolve
> the format that would result in an output of “$3–7M” since all of the
> short formats (and format masks) assume a single number.
> What am I missing?

Indeed the puzzle as I can see it is that "$3―7M" is basically a
non-standard format, because large figures in ranges should not
be abbreviated (assuming that the meaning is not "from three dollars to
seven million dollars"):

| “Note that when expressing a range with very large numbers, to avoid
|  confusion, the first number should not be abbreviated; for example,
| “‘$75–$80,000”’ means ‘from $75 to $80,000,’ not ‘from $75,000 to $80,000.’”

For clarifying this, as well as in the keyboarding thread wrt main vs
auxiliary letters we’re really waiting for an authoritative response.


Best regards,

More information about the CLDR-Users mailing list