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.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook