Re: Singles to Doubles

Tech-Archive recommends: Fix windows errors by optimizing your registry



Karl E. Peterson wrote:
....
And *lots* faster, too! I'm iterating some 4 million items at a time, and that trims it down from 3.2s to 0.6s on each loop. But I see I only hold 4 decimal places. Gonna have to confer with the client to see if that's acceptable. Using the String method is definitely producing the closest replication of their data when it goes to Double.

OK, now that we have gotten past the discussion of Single vis a vis Double precision, we're at the nub of the problem! :)

Tell us some context and perhaps other and better solutions may appear...

--
.