In many programming languages, the thousands separator (for example, "," in the US line "1000") is called the "grouping separator". Why is this?
Are there real locales that share written integers on some other border? Do people write numbers somewhere, for example, 86.75.30.9 or 8675.309? If so, what are these locales?
This problem arose for me today in Objective-C, when I could not remember the name of the constant to find the string for this separator. I printed "NSThou" and nothing was autocomplete. I had to go to the docs to remind you like this:
NSLocale *loc = [NSLocale currentLocale]; NSString *sep = [loc objectForKey:NSLocaleGroupingSeparator];
However, this does not apply to Objective-C; I recall from my old days of Java that this is called the same. (The Python people, OTOH, seem to call it the thousands separator . ")
source share