I'm running into the following error in fortran when trying to convert a real number to string.
iio: [-1] end of file
lately: writing sequential formatted internal IO
part of last string: 100000. |
Abort (core dumped)
The below is the code where I'm getting the error. The value at which the above error is thrown in 99999.5
CHARACTER STRING*12
WRITE (STRING, '(G12.5)') VALUE
Why is this error thrown?