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

Home » Public Forums » archive » Conversion Error?
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: Conversion Error? [message #16821 is a reply to message #16680] Mon, 16 August 1999 00:00 Go to previous messageGo to previous message
Laurent Chardon is currently offline  Laurent Chardon
Messages: 8
Registered: June 1999
Junior Member
Thanks David and Martin for your help. So if I understand properly, IDL uses
fix() by default when converting doubles to integer. That's tricky. Does it
make sense to do that?
The solution would be to use c=fltarr(round(size)). Shouldn't IDL do that by
default?
I'm wondering what's the use of using fix() instead of round() in this
instance. Does anybod know?

Laurent Chardon
Trent University
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: looking for some software to convert idl format data to text
Next Topic: seperators in menus

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

Current Time: Sat Oct 11 01:45:58 PDT 2025

Total time taken to generate the page: 1.67557 seconds