I have to convert some code from Fortran so doesn't know how what this statement means:
var1 = 10.D00
Can someone explain me what it means?
It's just 10.0 in scientific notation with double precision (that's what the D stands for).
See: http://www.fortran.com/F77_std/rjcnf0001-sh-4.html#sh-4.2.1:
4.5.1 Double Precision Exponent.
The form of a double precision exponent is the letter D followed by an optionally signed integer constant. A double precision exponent denotes a power of ten. Note that the form and interpretation of a double precision exponent are identical to those of a real exponent, except that the letter D is used instead of the letter E.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With