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

Home » Public Forums » archive » Re: Floating Array Shows no numbers after the dot
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: Floating Array Shows no numbers after the dot [message #29465 is a reply to message #29457] Tue, 19 February 2002 09:26 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Emmler, Oliver (oemmler@ix.urz.uni-heidelberg.de) writes:

> I tried the following:
>
> Array = FLTARR[15]
> Time = 123456.123456
> Array[0] = Time
> Print, Array[0]
>
> All numbers after the colon are gone.
>
> Can anyone help ?
> Do i have to use DCOMPLEXARR ?
> Is this problem caused by Pre-Formatting due to the system ?

You are running into default formatting problems, for sure.
Try this:

Print, array[0], Format='(F13.6)'

And if you really need all those decimal points, you are
probably going to have to make this a double precision array
(DBLARR). Double complex is probably going a bit overboard,
however. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@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
Read Message
Read Message
Previous Topic: Color problems with 5.5/RH linux 7.1
Next Topic: Creating embedded license .sav files

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

Current Time: Wed Oct 08 17:53:14 PDT 2025

Total time taken to generate the page: 0.00487 seconds