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 #17896 is a reply to message #17890] Wed, 17 November 1999 00:00 Go to previous messageGo to previous message
daniele.monti is currently offline  daniele.monti
Messages: 3
Registered: November 1999
Junior Member
On Wed, 17 Nov 1999 09:48:29 -0700, davidf@dfanning.com (David
Fanning) wrote:

> 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


Dear David
Thanks a lot for your help
I've already tried to print data as you said but if I read these
numbers using " DC_READ_FREE" :

37374.000200
37374.000400
37374.000600
37374.000800
37374.001000
37374.001200
37374.001400
37374.001600
37374.001800
37374.002000


The result I get is:

WAVE> Print, x , Format='(D20.6)'
37374.000000
37374.000000
37374.000000
37374.000000
37374.000000
37374.000000
37374.000000
37374.000000
37374.000000
37374.003906

Why????
[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: Fri Oct 10 09:49:48 PDT 2025

Total time taken to generate the page: 0.47938 seconds