Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to declare real constants in Fortran? Please help

  1. Jun 18, 2010 #1
    How do I declare constants beginning with "zero" in Fortran to get the output beginning with zero ?

    If I declare :

    I get the output:



    Thanks in advance
     
  2. jcsd
  3. Jun 20, 2010 #2

    minger

    User Avatar
    Science Advisor

    I think you want to look at FORMAT descriptors.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: How to declare real constants in Fortran? Please help
  1. Please help FORTRAN (Replies: 5)

Loading...