all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: Calc: Multiply time (hours) with a float - solved by updating Org
Date: Tue, 20 Sep 2016 16:23:17 +0200	[thread overview]
Message-ID: <2016-09-20T16-18-01@devnull.Karl-Voit.at> (raw)
In-Reply-To: 2016-09-19T14-57-54@devnull.Karl-Voit.at

* Karl Voit <devnull@Karl-Voit.at> 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

  parent reply	other threads:[~2016-09-20 14:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08  8:33 Calc: Multiply time (hours) with a float Karl Voit
2016-09-11 11:45 ` Karl Voit
2016-09-11 12:12   ` Michael Welle
2016-09-18 16:36     ` Karl Voit
2016-09-19  6:49       ` Michael Welle
2016-09-19  6:55         ` Michael Welle
2016-09-19 11:43           ` Karl Voit
2016-09-19 12:41             ` Michael Welle
2016-09-19 13:18               ` Karl Voit
2016-09-19 13:49                 ` Michael Welle
2016-09-19 15:33                   ` Nick Dokos
2016-09-19 17:45                     ` Michael Welle
2016-09-20 14:17                       ` Karl Voit
2016-09-19 15:33                 ` Bernhard Pröll
2016-09-20 14:23                 ` Karl Voit [this message]
2016-09-20 14:58                   ` Calc: Multiply time (hours) with a float - solved by updating Org Michael Welle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2016-09-20T16-18-01@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.