Re: [O] Table formula to convert hex to dec

2011-07-24 Thread Michael Brand
On Sun, Jul 24, 2011 at 11:52, Michael Brand wrote: > It would be nice to have not only "N" for the Org table formula mode > string like now but also optionally all possible Emacs Calc radix, so > the above would be simply (does not work yet): > | 16#10 | 16 | 16#10 | > #+TBLFM: $2 = $1 :: $3 = $2

Re: [O] Table formula to convert hex to dec

2011-07-24 Thread Nick Dokos
Russell Adams wrote: > Has anyone been able to convert a column of hex numbers to decimal in > another column? > I suspect there are many ways - here's one: --8<---cut here---start->8--- * hex-to- conversion | h | d | o | |++| | 1 | 1 | 1

Re: [O] Table formula to convert hex to dec

2011-07-24 Thread Michael Brand
Hi Russell On Sun, Jul 24, 2011 at 10:00, Russell Adams wrote: > Has anyone been able to convert a column of hex numbers to decimal in > another column? Emacs Calc has a radix syntax "2#10" to "36#10", so this works: | 16#10 | 16 | 16#10 | #+TBLFM: $2 = $1 :: $3 = '(format "16#%x" $2); N It wou

[O] Table formula to convert hex to dec

2011-07-24 Thread Russell Adams
Has anyone been able to convert a column of hex numbers to decimal in another column? Thanks. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/