Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

printing with a format in exponent!

8 views
Skip to first unread message

Kim

unread,
Oct 10, 2011, 3:27:32 PM10/10/11
to
Hi,

I'm quite confused why the formation option does not print as it
should.

In the IDL terminal, I simply typed the following

IDL> print, 1.58058980019603E+07, format='(E20.14)'

However, it prints

IDL> 1.580589800000E+07

It is really important for the format to work because my calculation
goes up to 12th decimal point.

Does anyone know why this is and how I can fix this problem?

Thank you in advance!!!

JL

0 new messages