Scientific notation question

  • Thread starter tony873004
  • Start date
  • #1
tony873004
Science Advisor
Gold Member
1,753
143
What's the difference between:

6.6725985D-20

and

6.6725985E-20
 

Answers and Replies

  • #2
zeta101
44
0
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, I am not sure). If you arent doing any programming but just came across this then you shouldn't 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.
 
  • #3
tony873004
Science Advisor
Gold Member
1,753
143
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.
 

Suggested for: Scientific notation question

  • Last Post
Replies
3
Views
407
  • Last Post
Replies
1
Views
214
  • Last Post
Replies
3
Views
433
  • Last Post
Replies
4
Views
388
  • Last Post
Replies
12
Views
739
Replies
11
Views
983
  • Last Post
Replies
3
Views
665
  • Last Post
Replies
7
Views
740
  • Last Post
Replies
11
Views
831
Top