title: How can i get up to 7 significant figures of my result in FORTRAN90?
body: <pre><code>INTEGER, PARAMETER :: SINGLE=SELECTED_REAL_KIND(7)
  REAL(KIND=SINGLE) :: K
  REAL::X
  ...
  K=X
  WRITE(*,*) K
  </code></pre>
  
  <p>When i write 5 or 6 inside <code>SELECTED_REAL_KIND</code>, it outputs six significant figures but when i try 7, it outputs more than 7. Can you tell me why? Where i got it wrong? Assigning is problematic?</p>
  
  <p>With 5 and 6  output-> 1.39256</p>
  
  <p>With 7  output-> 1.3925623893</p>
  
  <p>Okey I'm asking a simple question. How can i just output 7 significant digits of this number  1.3925623893
  ?</p>