如何将CString转化为double 然后反过来
谢了
[解决办法]
_tcstod();
CString::Format(_T("%.lf"), ...);
[解决办法]
__ttof 转成 double
[解决办法]
- C/C++ code
double atof( const char *str );double _wtof( const wchar_t *str );
发布时间: 2012-05-28 17:59:33 作者: rapoo
如何将CString转化为double 然后反过来
谢了
[解决办法]
_tcstod();
CString::Format(_T("%.lf"), ...);
[解决办法]
__ttof 转成 double
double atof( const char *str );double _wtof( const wchar_t *str );