Consistent number formatting in "Your Zeitgeist"

ForumRecommend Site Improvements

Melde dich bei LibraryThing an, um Nachrichten zu schreiben.

Consistent number formatting in "Your Zeitgeist"

1lorax
Jan. 20, 2021, 10:38 am

I noticed that the number formatting is inconsistent in "Your Zeitgeist" - sometimes there's a thousands separator, sometimes not. It looks as though everything but CK has the separator.



This would look a lot better if it were consistent. I don't care much one way or the other about which format is chosen, though if you opt to go with the separator, localizing it (comma vs. period) would be a great option.

2AndreasJ
Jan. 20, 2021, 11:13 am

If you do localize it, do note that some languages use a space.

3andyl
Jan. 20, 2021, 11:37 am

>2 AndreasJ:

I would imagine that Tim would use the NumberFormatter function in PHP which should cope with those differences. It should also cope with the Indian locale where 1000000 is displayed as 10,00,000