I have this code
double d = 1234567890;
String str = Double.toString(d);
System.out.println(str);
str = String.valueOf(d);
System.out.println(str);
But the result in console is 1.23456789E9. Тhis happens when the number has more than 7 characters. Why this happens and how to make the string equal to "123456789"