skip to main
|
skip to sidebar
Developers Guide
Sunday, May 17, 2009
Converting CString to double in MFC
You can use the following snippet to convert
CString
to
double
in MFC:
#include
"stdlib.h"
double func(CString pValue)
{
wchar_t* stopString;
double num = wcstod(
pValue
, &stopString);
return num;
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Blog Archive
►
2010
(2)
►
December
(2)
▼
2009
(2)
▼
May
(1)
Converting CString to double in MFC
►
April
(1)
►
2007
(1)
►
October
(1)
►
2006
(2)
►
February
(2)
►
2005
(5)
►
October
(5)