ubanide

Scientific Notation to Double

Discussion created by ubanide on Jan 26, 2012
Latest reply on Jan 26, 2012 by gabrisch
Does anyone know of an elegant way to convert a string that has a number represented by scientific notation ( e.g.  .0340344E-4) to a double?  I and trying to normalize a set of shape files from different sources and one of my providers gave me a length field in sci notation.  All the others are doubles.  or strings as doubles.  (e.g. "23.5")  I can handle the second case.  Not sure how to do the first without resorting to "brute force" parsing.

Thanks

Outcomes