When using toString(), Double adds commas (5143 is printed as 5,143). How to disable the commas?
toString()
As far as I am aware, you can not disable what the toString() method returns.
My solution would be as follows:
someDouble.toString().replaceAll(",", "");
Not the most elegant solution, but it works.