One common question ,may be I am wrong at this point but last two hours on google not give me any answer, Question is how to convert CString to float without using std: library in c++.
I tried with wcstod() function but, This function has very different behaviour. Please find following code,
CString Tempconvert = "32.001";
double TempConvertedValue = wcstod(Tempconvert,NULL);
So, Finally TempConvertedValue should have value 32.001. But i am getting TempConvertedValue = 32.000999999999998 Please provide me any help which convert String "32.001" to float 32.001 only. Without using std: library.