Formatting a Number Range

Mark Davis ☕️ via CLDR-Users cldr-users at unicode.org
Thu Nov 22 01:26:13 CST 2018


Agreed that 3–7M is best avoided, since it is ambiguous for readers: (3–7)M
vs 3-(7M).

Mark


On Thu, Nov 22, 2018 at 7:32 AM Marcel Schneider via CLDR-Users <
cldr-users at unicode.org> wrote:

> 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.’”
>
> https://www.dailywritingtips.com/use-a-dash-for-number-ranges/
>
> For clarifying this, as well as in the keyboarding thread wrt main vs
> auxiliary letters we’re really waiting for an authoritative response.
>
> Thanks.
>
> Best regards,
> Marcel
> _______________________________________________
> CLDR-Users mailing list
> CLDR-Users at unicode.org
> http://unicode.org/mailman/listinfo/cldr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/cldr-users/attachments/20181122/9626beae/attachment-0001.html>


More information about the CLDR-Users mailing list