An image containing a bunch of nuts

What Happened to Commas in Numbers

Print Friendly and PDF

Posted: December 11, 2018 | | Categories: Stupid Developer Tricks

That's pretty much it, what ever happened to them? Nobody seems to use them anymore in software products. I've noticed this at work where people make dashboards showing big numbers, but don't show thousands separators when displaying them on a page or in a screen.

Take, for example, the Stupid Developers Tricks section of this site (shown in the following figure). Several of the articles in this category have more than a thousand hits, but whomever wrote the Hits counter plugin didn't consider rendering the separators that make reading the numbers easier.

Stupid Developer Tricks listing

Why is this happening? Are developers just lazy? Are there just not functions or libraries available that return a string representing the number with the right separators based on locale?  It makes no sense to me.


Next Post: Updated My Pi Remind Project (December, 2018)

Previous Post: NC Lottery App

If this content helps you in some way, please consider buying me a coffee.

Header image: Photo by Raspopova Marina on Unsplash.