Hi there,
I've been trying to achieve this one way or another all day with no luck. I would like to convert a CString to a double.
For example, if my CString has the form -
CString testString("12345.6789");
I would like to be able to convert testString into a double so that e.g. double testData == 12345.6789
I have tried first converting the CString into a const char then converting this to a double but with no luck. Any help with how to get this working is much appreciated,
Many Thanks,
Dav
I've been trying to achieve this one way or another all day with no luck. I would like to convert a CString to a double.
For example, if my CString has the form -
CString testString("12345.6789");
I would like to be able to convert testString into a double so that e.g. double testData == 12345.6789
I have tried first converting the CString into a const char then converting this to a double but with no luck. Any help with how to get this working is much appreciated,
Many Thanks,
Dav