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

Home » Public Forums » archive » Displaying floating point values with user specified decimal places?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Displaying floating point values with user specified decimal places? [message #43288] Fri, 25 March 2005 15:38
Jonathan Greenberg is currently offline  Jonathan Greenberg
Messages: 91
Registered: November 2002
Member
How do I control how a system works with decimal places for floating point
values? For instance, I did a few fltarr assigns which end up displaying
(via print,array) a longish floating point value without the decimals which
I know are there (e.g. 657456. vs the "true" value of 657456.25), or in
scientific number format -- when I go to use, for instance, Dave Fannings
write_csv_data.pro, it writes the array out in the same format that
print,array spits out. How do I control this decimal display format?

--j
[Message index]
 
Read Message
Previous Topic: METAFILE + TVLCT
Next Topic: Re: getting y Coordinates of NetCDF file

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

Current Time: Sun Oct 12 14:11:09 PDT 2025

Total time taken to generate the page: 1.83763 seconds