Re: [O] Calc: Multiply time (hours) with a float - solved by updating Org
Hello, Karl Voit writes: > * Karl Voit wrote: >> >> | time [h:m:s] | value | product | >> |--+-+-| >> | 09:15:00 | 2.54321 | #ERROR | >> #+TBLFM: @2$3='(org-time-string-to-hours $1) >> >> OK, this is my current issue then. >> >> I'm using Org from git/maint version 8.3.4 >> (release_8.3.4-33-gd522fc) and GNU Emacs 24.5.1 (i686-pc-mingw32 >> Windows) as well as Emacs 24.4.1 on GNU/Linux. > > I updated to Org-mode version 8.3.4 (release_8.3.4-115-gf46b92): > > | time [h:m:s] | value | product | > |--+-+-| > | 09:15:00 | 2.54321 |9.25 | > > #+TBLFM: @2$3='(org-time-string-to-hours $1) > > ... now works after Org update. that's great news. [...] > I am so sorry that this took you so much time just because of my > old code. However, I learned a lot from your comments - Thanks for > that! :-) No worries, have fun ;). Regards hmw
Re: [O] Calc: Multiply time (hours) with a float - solved by updating Org
* Karl Voit wrote: > > | time [h:m:s] | value | product | > |--+-+-| > | 09:15:00 | 2.54321 | #ERROR | > #+TBLFM: @2$3='(org-time-string-to-hours $1) > > OK, this is my current issue then. > > I'm using Org from git/maint version 8.3.4 > (release_8.3.4-33-gd522fc) and GNU Emacs 24.5.1 (i686-pc-mingw32 > Windows) as well as Emacs 24.4.1 on GNU/Linux. I updated to Org-mode version 8.3.4 (release_8.3.4-115-gf46b92): | time [h:m:s] | value | product | |--+-+-| | 09:15:00 | 2.54321 |9.25 | #+TBLFM: @2$3='(org-time-string-to-hours $1) ... now works after Org update. | time [h:m:s] | value |product | |--+-+| | 09:15:00 | 2.54321 | 23.5246925 | #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L ... now works as well. I am so sorry that this took you so much time just because of my old code. However, I learned a lot from your comments - Thanks for that! :-) -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github