in reply to Weird number formatting
The 'D' causes the problem, perl does not understand these numbers as numbers. Does that 'D' have any other meaning than the 'E',which means '*10^' and _is_ understood by perl?
I don't understand that notation either, so i cannot tell you exactly what you can do, anyways it must include removing that letter from the string.
--http://fruiture.de
In Section
Seekers of Perl Wisdom