comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » readf,1,format= ......
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: readf,1,format= ...... [message #57444 is a reply to message #57392] Mon, 10 December 2007 06:35 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
woopik@interia.pl writes:

> meaby, but its a big problem for me ;-)
>
> i try
> a=5.4195140971e-04
> print,a,FORMAT='(e17.10)'
>
> and i get
> 5.4195139091e-04

Oh, I thought we were talking about reading it from
a file. Yes, in this case, you want this:

IDL> a=5.4195140971d-04
IDL> print,a,FORMAT='(e17.10)'
5.4195140971e-004

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Readf
Next Topic: PLOT x and y ranges

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:57:55 PDT 2025

Total time taken to generate the page: 0.64270 seconds