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

Home » Public Forums » archive » problem with FIX function
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: problem with FIX function [message #93887 is a reply to message #93886] Tue, 15 November 2016 11:30 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, November 15, 2016 at 1:38:57 PM UTC-5, AGW wrote:
> On Tuesday, November 15, 2016 at 4:12:19 PM UTC+2, AGW wrote:
>> Hi, all
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>> IDL> x=40251.00
>> IDL> print,fix(x)
>> -25285
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>> How it is result, what is the promplem?
>
> Thanks, Now if
>
> x=b+c+dd+d+1720991.5=2444351.5
>
> IDL print x=2444352.0

Hard to know without understanding the variables and what formatting options you used to print it.

The statement
print, 2444351.5, format='(F0)'
does result in the correct output.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Divide the world into hexagons
Next Topic: Copying HDF5 datasets to a new HDF5 file

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

Current Time: Wed Oct 08 15:48:52 PDT 2025

Total time taken to generate the page: 0.00457 seconds