Format Integers with commas
See original GitHub issueHello,
Our users complains about the integers are shown with comma.
Example
SELECT id FROM test;
Where id is INT(11) unsigned
Result is 21,668
Do you know if we can fix it quickly?
Thanks
Max.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
How to format a number with commas as thousands separators?
1. works only well if you dont have float number with more than 3 numbers after the separator in this case a dot....
Read more >Format Numbers with Commas in JavaScript - Sabe.io
Reading large numbers is a lot easier when there are commas in them. In this post, we'll learn how to format numbers in...
Read more >How to Format Numbers with Commas in SQL Server
We can use the FORMAT() function to format numbers with commas. When we use this function, we pass the number and a format...
Read more >How to format numbers in Java? - NumberFormat Example
In order to print numbers with a comma, just call the format() method of NumbeFormat class and it will print it accordingly. By...
Read more >Number formatting - Globalization | Microsoft Learn
The character used as the decimal separator. In the United States, this character is a period (.). In Germany, it is a comma...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this solves my problem… thx!
Maybe a little late but I ran into the same issue and solved it by casting the id-column to char. In your case:
SELECT CAST(id as CHAR(8)) as id FROM test;
Hacky “but it works” 😉