Looks like this is the correct choice to be followed:
I checked using this code, Double value do not precision up to Double.MAX_VALUE
but when i do see this value Double.MAX_VALUE, it comes up in exponential format.
need to change the exponential format number into number represented without exponential format
.