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

Home » Public Forums » archive » Re: Real Number on PVWAVE
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: Real Number on PVWAVE [message #17899 is a reply to message #17890] Wed, 17 November 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Daniele Monti (daniele.monti@usa.net) writes:

> I'm in big trouble with PV_WAVE.
> I have to read a very simple file like this:
> 37122.00002
> 37122.00004
> 37122.00006
> ...
> How can I read numbers with more then six or eight digits?
> I tried using Double Precision format but I didn't get any positive
> result.

What makes you think you didn't get any positive results?
I think you probably *did* read the numbers correctly,
but you are printing them out improperly. Try printing
the result like this:

Print, result, Format='(D20.6)'

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Windows PostScript Preview Image
Next Topic: Re: At Last! A Subsititute for CW_Field.

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

Current Time: Sat Oct 11 00:30:41 PDT 2025

Total time taken to generate the page: 0.80108 seconds