I have the number 654987. Its an ID in a database. I want to convert it to a string. The regular Double.ToString(value) makes it into scientific form, 6.54987E5. Something
Also you can use
double value = getValue(); NumberFormat f = NumberFormat.getInstance(); f.setGroupingUsed(false); String strVal = f.format(value);