khonsulabs / nominals

Formatting of nominal identifiers in various languages (ordered list headings)
Apache License 2.0
5 stars 1 forks source link

Add support for separators #1

Open ecton opened 8 months ago

ecton commented 8 months ago

DigitCollection should support automatically inserting separators every X digits. This can't be done automatically for non-digit-based systems, because we can't trust that multiple characters are different digits -- e.g., how would separators work in roman numerals?

WorkProg commented 3 months ago

This might be complicated even more by some locales use non-constant separator spacing, I know of at least Indian https://en.wikipedia.org/wiki/Decimal_separator#Digit_grouping