ketan01:
I want to get all the digit after point but arduino automatically round off that num , i m using double data type, my code is
lat = (double)str.substring(i,j-10).toFloat();
8-bit Atmega or 32-bit ARM based platform/board?
Only those 32-bit ARM based boards (like "DUE") can do "double", actually.
But 8-bit Atmega based boards (like "UNO") handle "double" declarations exactly the same as "float".
There is nothing like a "double precision" in floating point math with Atmega microcontrollers.