E Format Descriptor and Leading Zeroes

E Format Descriptor and Leading Zeroes

My program prints a large amount of data to various output files using the E format descriptor for real values (e.g., E13.8). The output contains leading zeroes in front of each number (0.12345E+00). I wish to suppress the printing of the leading zeroes. Is there some compiler option or run time option that will do this ? I do not want to change the format statement itself.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

No, there is no such compiler option.

Steve

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today