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

Home » Public Forums » archive » Re: Formatting output
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: Formatting output [message #23437 is a reply to message #23435] Fri, 26 January 2001 15:38 Go to previous messageGo to previous message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
Guillaume Dargaud wrote:
>
> I want to format a string output but can't get it straight. Basically I want
> floats to converts to a string with no space, no decimals and no dots.
> I've tried many ways, here's the latest:
>
> FOR i = 0, OrbNum-1 DO xtn[i]=STRING( $
> fix(OrbArray[i,0]),fix(OrbArray[i,5]),$
> fix(OrbArray[i,6]), FORMAT='(I," ",I,"h",I)')
>
> But it comes out with spaces...
> --
> Guillaume Dargaud
> Colorado State University - Dept of Atmospheric Science
> http://rome.atmos.colostate.edu/
> "A logician trying to explain logic to a programmer is like a cat trying
> to explain to a fish what it's like to get wet."


Could you type in a typical input 'float' value and the output
you are trying to get from it? Then I am sure we can help you!
DIck French
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reading GrADS data file in IDL
Next Topic: Re: Creating a sphere (Object Graphics)

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

Current Time: Fri Oct 10 20:33:53 PDT 2025

Total time taken to generate the page: 1.75508 seconds