I have been using PaddedForm in conjunction with CForm and FortanForm using Mathematica version 3.0 and 4.0 (under Windows)and have noticed a difference between the two versions. Here is an example:
Running this under version 3.0 gives
which is correct. However, running this under version 4.0 gives
which is incorrect. This result appears on both the screen and in my data files when I use OpenWrite to send the data to a file. FortranForm has the same problem. What's happening here?
I need to import my data, which are usually small numbers, to other programs so it is important to have the data in either Fortran or C Form; i.e. written in exponential form.