D
Duncan Winn
I am trying to convert a CString to a double using
atof()
however my nice CString of "0.58" gets converted to 0.579999223213147 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.579999223213147 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