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

Home » Public Forums » archive » Re: my god, it's full of stars....
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: my god, it's full of stars.... [message #77220 is a reply to message #77219] Tue, 16 August 2011 14:42 Go to previous messageGo to previous message
polystethylene is currently offline  polystethylene
Messages: 28
Registered: February 2009
Junior Member
On Aug 16, 10:29 pm, Paul van Delst <paul.vande...@noaa.gov> wrote:
> The format used to output the number can't "fit it in". E.g.
>
> IDL> x=0.631398
> IDL> print, format='(f10.6)', x
>   0.631398
> IDL> x=1000.0
> IDL> print, format='(f10.6)', x
> **********
>
> So, if the number being output in your file is >= 1000, you'll get stars.
>
> The ">=" is subject to precision of course:
>
> IDL> x=999.9999
> IDL> print, format='(f10.6)', x
> 999.999878
> IDL> x=999.99999
> IDL> print, format='(f10.6)', x
> **********
>
> cheers,
>
> paulv
>
>


Hi Paul, thanks for the swift reply.

Does this mean the solution for situations where the number is unknown
is to print with format D0.6, and not D10.6?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: FLEXlm, Windows 7 & IDL 6.0
Next Topic: Porting OS X IDL 7.0 to Linux IDL 8.0

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

Current Time: Sat Oct 11 09:20:32 PDT 2025

Total time taken to generate the page: 7.20205 seconds