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

Home » Public Forums » archive » Re: xyouts: define decimal places of variable
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: xyouts: define decimal places of variable [message #65236 is a reply to message #65234] Thu, 19 February 2009 13:04 Go to previous messageGo to previous message
Mark[1] is currently offline  Mark[1]
Messages: 66
Registered: February 2008
Member
On Feb 19, 12:35 am, Carsten Lechte <c...@toppoint.de> wrote:
> Use the STRING function, which does accept format statements:
>
> XYOUTS, 0.5, 0.5, STRING( 0.3453534534, FORMAT='(F6.2)')

A minor addition: you can omit the leading spaces with FORMAT='(F0.2)'
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Interpolating/gridding field reflectance spectra
Next Topic: Re: Interpolating/gridding field reflectance spectra

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

Current Time: Fri Oct 10 10:23:45 PDT 2025

Total time taken to generate the page: 1.03543 seconds