Posted on 2006-06-27
currently im converting a Standard::String to a double - this is the code im using
retArray[i] = System::Convert::ToDouble(strArray[i]);
as you can see, i have two arrays, one of doubles, the other of strings.
now it goes fine - except for example i have a string value of "0.70", after the conversion the value in the double array is 0.699999999
shouldnt be that big of a deal, but im doing a number of iterations after that value is obtained, and i want it to be exact.
any idea how to get the value in after its passed to be 0.700000000????
thanks in advance