I am trying to convert a CString to a double using
atof()
however my nice CString of "0.58" gets converted to 0.5799992232131 47 etc
making it impossible to compare with a different double varaible of 0.58
Any suggestions on how to keep my origional value!!!!
Thanks
Ducnan
atof()
however my nice CString of "0.58" gets converted to 0.5799992232131 47 etc
making it impossible to compare with a different double varaible of 0.58
Any suggestions on how to keep my origional value!!!!
Thanks
Ducnan
Comment