float型数据转成CString!

float型数据转成CString!!在线等我是新新手CStringm_endCStringm_temp//m_end 0.968 //m_temp 11.2

float型数据转成CString!! 在线等
我是新新手
CString   m_end;
CString   m_temp;
//m_end= "0.968 ";
//m_temp "11.252 ";
m_end=m_end.Format( "%f ",atof(m_temp)+atof(m_end));
UpdateData(false);//结果在IDC_EDIT1中显示!


希望能给我个简单的   详细的答案

[解决办法]
http://blog.csdn.net/jixingzhong/archive/2006/11/14/1383146.aspx