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

Home » Public Forums » archive » format codes
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: format codes [message #93677 is a reply to message #93669] Wed, 28 September 2016 04:44 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, September 27, 2016 at 10:49:42 AM UTC-4, sayani ghosh wrote:
> I am working with with phase data that looks like 23568978.124578 in cycles.
> I want to export the whole value in decimal format without rounding off. The problem while using E11.4 or a or G10.4 is, IDL is rounding my data like 2.3568e+007.. Which is leading to errors in consequent calculations.

FORMAT='(G)'

will print the full double precision and include the exponent where necessary.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to read nc variable partly?
Next Topic: high rise building extraction from satellite image

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

Current Time: Wed Oct 08 13:52:51 PDT 2025

Total time taken to generate the page: 0.00457 seconds