Re: [O] org-spreadsheet: formatting chops off units

2012-09-12 Thread Bastien
Hi Michael, Michael Brand writes: > Calc `defmath' is not mentioned in the Org manual or on Worg, so I > suggest the attached patch for the Org manual. Applied, thanks! -- Bastien

Re: [O] org-spreadsheet: formatting chops off units

2012-09-07 Thread Michael Brand
Hi all On Wed, Sep 5, 2012 at 11:46 PM, Kyle Andrews wrote: > [...] > #+TBLFM: $2=uconvert($1, lb) > [...] > #+begin_src emacs-lisp > (defmath uconvert (expression new-units) > (math-convert-units expression new-units))) > #+end_src Calc `defmath' is not mentioned in the Org manual or on Wor

Re: [O] org-spreadsheet: formatting chops off units

2012-09-05 Thread Michael Brand
Hi Kyle On Wed, Sep 5, 2012 at 11:46 PM, Kyle Andrews wrote: > If you type in '0.66138679 lb into calc directly, and press d f 2, calc > displays 0.66 lb as desired. Is there any reason for the %.2f notation > chops off the units? Is there some better way to accomplish what I > want? Org spreads

Re: [O] org-spreadsheet: formatting chops off units

2012-09-05 Thread Nick Dokos
Kyle Andrews wrote: > Hello everyone, > > I want to use an org-spreadsheet to perform unit conversions for me. > > | Mass (g) | Mass (lb) | > |--+---| > | 300 g| 0.66138679 lb | > | 23 kg| 50.706320 lb | > | 50 Mg| 110231.13 lb | > #+TBLFM: $2=uconvert($1,

[O] org-spreadsheet: formatting chops off units

2012-09-05 Thread Kyle Andrews
Hello everyone, I want to use an org-spreadsheet to perform unit conversions for me. | Mass (g) | Mass (lb) | |--+---| | 300 g| 0.66138679 lb | | 23 kg| 50.706320 lb | | 50 Mg| 110231.13 lb | #+TBLFM: $2=uconvert($1, lb) I made the table above, but can't fi