bcmyers / num-format

A Rust crate for producing string representations of numbers, formatted according to international standards
Apache License 2.0
122 stars 22 forks source link

Other numbering systems #18

Open zbraniecki opened 5 years ago

zbraniecki commented 5 years ago

It seems that at the moment the crate only supports latn while CLDR has a much wider selection: "arab", "arabext", "bali", "beng", "deva", "fullwide", "gujr", "guru", "hanidec", "khmr", "knda", "laoo", "latn", "limb", "mlym", "mong", "mymr", "orya", "tamldec", "telu", "thai", "tibt".

It would be useful because formatting a number in many arabics, herbew or punjabi with western numerals is plain wrong.

zbraniecki commented 5 years ago

Related to #7

bcmyers commented 5 years ago

Cool. Thanks for pointing that out. I'll add it to the list of things to look into.