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 #61374 is a reply to message #61373] Wed, 16 July 2008 09:18 Go to previous messageGo to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Jul 16, 5:02 pm, d.po...@gmail.com wrote:
> 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

Well, assuming you have the same number of significant figures in each
element:

Values = Array[0,*] + Array[1,*]/1000.0

Regards,
Chris
[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 19:28:16 PDT 2025

Total time taken to generate the page: 0.00426 seconds