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

Scientific notation question

  1. Aug 8, 2005 #1

    tony873004

    User Avatar
    Science Advisor
    Gold Member

    What's the difference between:

    6.6725985D-20

    and

    6.6725985E-20
     
  2. jcsd
  3. Aug 8, 2005 #2
    From a computer programming point of view the D means the number is stored as double precision where as E is stored as single precision (for exmaple this is the notiation used in the fortran programming language, but it may apply to other languages, im not sure). If you arent doing any programming but just came across this then you shouldnt need to worry about it and yo ucan assume that the two are equivalent. If you are programming then do some googling/reading on single/double precision etc.
     
  4. Aug 8, 2005 #3

    tony873004

    User Avatar
    Science Advisor
    Gold Member

    Thanks. That makes sense. I was wondering in relation to VB. I just tried it, and the VB editor automatically changes D to E, with the precision set in the Dim statement.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Scientific notation question
  1. Scientific Notation (Replies: 6)

  2. Notation question (Replies: 4)

Loading...