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
What about Long.toString((long)value) ?
How about String.valueOf((long)value);
String.valueOf((long)value);
Use Long:
long id = 654987; String str = Long.toString(id);