[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] CLOCKTABLE multiply time expended by hourly rate?
From: |
Bastien |
Subject: |
Re: [O] CLOCKTABLE multiply time expended by hourly rate? |
Date: |
Wed, 27 Jul 2011 13:25:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Daniel,
Daniel E.Doherty <address@hidden> writes:
> I am trying to take a duration output by CLOCKTABLE and multiply it by
> dollars-per-hour (or dollars-per-second, either way) and get an answer
> in units of dollars.
I see, thanks for the explanation.
> Can you suggest a way this can be done?
Since latest git commit, you can now use ;t instead of ;T as a flag for
durations computations. ;t will output results according to the new
variable `org-table-duration-custom-format', which you can check.
See this example:
#+begin_src org
| Task 1 | Task 2 | Total |
|---------+----------+----------|
| 2:12 | 1:47 | 03:59:00 |
| 3:02:20 | -2:07:00 | 0.92 |
#+TBLFM: @2$3=$1+$2;T::@3$3=$1+$2;t
#+end_src
.92 is a fraction of hours, because `org-table-duration-custom-format'
is set to 'hours.
HTH,
--
Bastien
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, (continued)
Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Bastien, 2011/07/24
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Daniel E . Doherty, 2011/07/25
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Daniel E . Doherty, 2011/07/25
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Bastien, 2011/07/25
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Daniel E . Doherty, 2011/07/25
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Bastien, 2011/07/25
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Daniel E . Doherty, 2011/07/26
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?,
Bastien <=
- Re: [O] CLOCKTABLE multiply time expended by hourly rate?, Daniel E . Doherty, 2011/07/27
Message not availableRe: [O] CLOCKTABLE multiply time expended by hourly rate?, Daniel E . Doherty, 2011/07/27