sscanf and double
-
Hi, I can convert the value of a CString to a float with sscanf: sscanf( strnumber, "%f", &m_dAg); I have tried to do this wiht a double, but it doesn't work. Is it possible to do that ? Thanks for any help, Claude
-
Hi, I can convert the value of a CString to a float with sscanf: sscanf( strnumber, "%f", &m_dAg); I have tried to do this wiht a double, but it doesn't work. Is it possible to do that ? Thanks for any help, Claude
use atof
-
Hi, I can convert the value of a CString to a float with sscanf: sscanf( strnumber, "%f", &m_dAg); I have tried to do this wiht a double, but it doesn't work. Is it possible to do that ? Thanks for any help, Claude
-
Hi, I can convert the value of a CString to a float with sscanf: sscanf( strnumber, "%f", &m_dAg); I have tried to do this wiht a double, but it doesn't work. Is it possible to do that ? Thanks for any help, Claude
You might also try strtod() function. Regards, Andrei zenkovitch Dundas Software