Message 1 of 17

Not applicable
08-29-2016
02:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Friend,
I am convert string to double problem,
CString strValue=_T("2.4");
double dValue = _tstof(strValue);
Output is
Current Output
dValue result is 2.39999999
Expected Output
but I want dValue result is 2.4
With Regards,
Vijay
Solved! Go to Solution.