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

Home » Public Forums » archive » Re: appending to column
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: appending to column [message #61469 is a reply to message #61371] Wed, 16 July 2008 09:43 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Jul 16, 6:30 pm, David Fanning <n...@dfanning.com> wrote:
> R.G. Stockwell writes:
>> <d.po...@gmail.com> wrote in message
>> news:c09c9b8a-35a7-41d7-9088-7bce01762053@x35g2000hsb.google groups.com...
>> Folks
>> I have a float array that first column is the integer part and second
>> column is the decimal part of that number. How I can append this to
>> column to get one column of that float number. For example:
>
>> [123,456]------> 123.456
>>  ………               ……….
>> Thanks
>> Cheers
>
>> Here is an example:
>
>> IDL> print,a
>>        0       1
>>        2       3
>>        4     311
>> IDL> print,a[0,*] +
>> float(a[1,*])/10^strlen(strcompress(string(a[1,*]),/rem))
>>      0.100000
>>       2.30000
>>       4.31100
>
> Alright, these explanations don't exactly leap to mind for me.
> Which math class was I suppose to learn this in? :-(
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

yes
thanks. I should also go more math class!:-)
Cheers
Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 330 Humingbird GPS 33020
Next Topic: Re: IDL Matrix Multiply and Dual-Core CPUs

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

Current Time: Thu Oct 09 20:35:40 PDT 2025

Total time taken to generate the page: 1.27627 seconds