Note that the number of exponent digits in the scientific notation produced by %e, %E, %g and %G for numbers with the modulus of the exponent less than 100 is system-dependent: it may be three or less (zero-padded as necessary). In other words, 1.23 times ten to the 99th may be either "1.23e99" or "1.23e099".
Msg#: 3704721 posted 10:34 am on Jul 23, 2008 (gmt 0)
Untested and guessing, but... Maybe if you write the result to a file, then read it back in you could check for zero padding and reformat for the screen (and any printed reports) regardless of the system... in effect defeating the system dependency.
After all, PERL stands for: Practical Extraction (and) Reporting Language