请问如何不四设五入显示
CString stemp;
unsignd int i = 256;
stemp.Format(_T("%.3f"),i);
stemp显示0.000. 请问如何不四设五入显示0.256
[解决办法]
CString stemp;
unsigned int i = 256;
stemp.Format(_T("%.3f"), (double)i/1000);