I want convert double to char * string for insert in a .ini file
It runs ok, but when I have a very small double (for exampleCode:char mystring[50]; double mydouble; sprintf(mystring, "%f", mydouble);
0.000000000000000000000000001)
It convert to 0.00000000 (=0) and not to 1.0e-20
Do you know how solve it?
Thanks
_______________________
Hip Hop Directo
Foros de musica


Reply With Quote


Bookmarks