Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Double precision constants in FortranForm' topicStudent Support Forum > General > "Double precision constants in FortranForm"

Help | Reply To Topic
Author Comment/Response
Rhys Ulerich
10/28/10 1:05pm

Is there some way to get double precision constants output by FortranForm?

For example, I'd like

FortranForm[1*x/3]
x/3.

to give

FortranForm[1*x/3]
x/3.d0

or something equivalent.



URL: ,
Help | Reply To Topic