Hello, I have a question about signes zero-values in a FORMAT-output.
The following code gives me as output -0.00.
program TestNegZero implicit none real*8 dTest dTest=-0.001 write(*,'(f5.2)')dTest end program TestNegZero
In my old compiler (Compaq Visual Fortran), I got as output 0.00. I would like to achieve to get this output again, because I have a big program with calculation-outputs and there are now many cases with -0,00 as output.
Till now, I did not find a setting to manipulate the behaviour, is there a solution?
Thanks a lot for any advice and greetings from germany (therefore my english is not so perfect)