| View previous topic :: View next topic |
| Author |
Message |
thales1
Joined: 06 Sep 2007 Posts: 5
|
Posted: Mon Oct 15, 2007 2:22 am Post subject: |
|
|
I made a mistake in the previous post. Inits are done like this :
x = 1.0d0
with an exponent after the "d" |
|
| Back to top |
|
 |
brentl
Joined: 20 Jul 2004 Posts: 107
|
Posted: Mon Oct 15, 2007 1:51 pm Post subject: |
|
|
Try this?
printf "%18.12f",d1
??? |
|
| Back to top |
|
 |
thales1
Joined: 06 Sep 2007 Posts: 5
|
Posted: Tue Oct 16, 2007 11:24 am Post subject: |
|
|
| brentl wrote: | Try this?
printf "%18.12f",d1
??? |
I already tried that : see first post : all printf statements return "0.000000" whatever the value of the variable. |
|
| Back to top |
|
 |
hongyon
Joined: 19 Jul 2004 Posts: 551
|
Posted: Thu Oct 18, 2007 11:18 am Post subject: |
|
|
Hi,
Do you have access to 7.0 or 7.1 release?
It prints correctly with those releases.
Hongyon |
|
| Back to top |
|
 |
|