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 #61371] Wed, 16 July 2008 09:30 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
R.G. Stockwell writes:

> <d.poreh@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.")
[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: Wed Oct 08 15:37:06 PDT 2025

Total time taken to generate the page: 0.00398 seconds