how do I print all decimals of a real and real8 variable in fortran 90?
<pre><code>program hello
   real(kind=8) :: x
   x=1.000001234567890
   Write(*,'(F10.11)') X
end program Hello
</code></pre>

<p>How exactly does the write statement work? I have tried several combination but can't figure it out. And what if I don't know a priori how many decimals a variable has? How can I just print all the number to the last decimal point?</p>