From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Table formula not returning an error
Date: Thu, 06 Oct 2011 16:21:13 +0200 [thread overview]
Message-ID: <80mxdeciau.fsf@somewhere.org> (raw)
Hello,
I was surprised by how 10 minutes was converted to 0.02 hour in a table:
| Tâche | HH:MM | Frac |
|------------+-------+------|
| Avril 2011 | 0:1O | 0.02 |
|------------+-------+------|
| | | 0.02 |
#+TBLFM: $3='(/ (float (org-hh:mm-string-to-minutes $2)) 60.);%.2f::@3$3=vsum(@-I..@-II)
I took me less than 2 minutes to discover the problem -- wanna play the
"1 diff game" (in the table itself, not in the formula)? -- and fix it:
| Tâche | HH:MM | Frac |
|------------+-------+------|
| Avril 2011 | 0:10 | 0.17 |
|------------+-------+------|
| | | 0.17 |
#+TBLFM: $3='(/ (float (org-hh:mm-string-to-minutes $2)) 60.);%.2f::@3$3=vsum(@-I..@-II)
But I'm surprised I did not see any error reported.
Best regards,
Seb
--
Sebastien Vauban
next reply other threads:[~2011-10-06 14:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 14:21 Sebastien Vauban [this message]
2011-10-07 9:09 ` Table formula not returning an error Lawrence Mitchell
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80mxdeciau.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).