When using toString(), Double adds commas (5143 is printed as 5,143). How to disable the commas?
toString()
Your problem belongs to Locale, as pointed out correctly by Rorick. However, you should look into DecimalFormat class, in case changing Locale means mess up all the things.
Look at NumberFormat class, to deal with thousand separator. Because it seems your case is regarding thousand separator instead.
1.4m articles
1.4m replys
5 comments
56.9k users