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
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
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
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/