double a=816992306.6297043221;
System.out.println("a="+a);
The problem with this is that the number is too large for double, and it gives the following output:
a=8.169923062970433E7
When I decrease the number, the result gets displayed correctly. What is the efficient solution for this problem?