Hi Russell

On Sun, Jul 24, 2011 at 10:00, Russell Adams <rlad...@adamsinfoserv.com> 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 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; N16#

Michael

Reply via email to