double d = 5000000000000000000034534534d;
System.out.println(String.valueOf(d)); // prints 5.0E27
Now, I want to display complete number instead of scientific notation.
As a fix, I have added new Bigdecimal which works fine till 10-12 digits not for big numbers.
System.out.println(new BigDecimal(d).toString()) // prints 4999999999999999791559868416
which is not same as double value. Need a solution to print correct number as double till 25 digits.