Scientific notation question

  • Thread starter tony873004
  • Start date

tony873004

Science Advisor
Gold Member
1,749
141
What's the difference between:

6.6725985D-20

and

6.6725985E-20
 
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.
 

tony873004

Science Advisor
Gold Member
1,749
141
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.
 

Related Threads for: Scientific notation question

  • Posted
Replies
5
Views
4K
Replies
2
Views
827
  • Posted
Replies
6
Views
1K
Replies
3
Views
4K
  • Posted
Replies
5
Views
1K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top