please
answer the code for string to double and string to long in c
bye

please
answer the code for string to double and string to long in c
bye

To perform these tasks there are in built functions in C namely. atol (yourString) : string to long atof (yourString) : string to double

And asking directly for a code is not the way to success. First post your attempt and we would be definately there to help you out.

hi i also face this issue atol works with less number of digits only.
for example i want to convert "2012051600000016" into number
for this atol,atof,strtoull, doe not work..
can any one help me out