From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel E. Doherty Subject: Re: CLOCKTABLE multiply time expended by hourly rate? Date: Tue, 26 Jul 2011 08:34:00 -0500 Message-ID: <87tya9upx3.wl%ded-law@ddoherty.net> References: <87y5zsws3j.wl%ded-law@ddoherty.net> <87d3gzuvzj.fsf@gnu.org> <8762mqwdri.wl%ded-law@ddoherty.net> <8762mqjcpd.fsf@gnu.org> <87vcuquisf.wl%ded-law@ddoherty.net> <87fwltrhyo.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlhm4-0006k1-Sz for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 09:34:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qlhm3-0001Ad-Kt for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 09:34:16 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:46162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlhm3-0001AQ-IS for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 09:34:15 -0400 Received: by yxn22 with SMTP id 22so290170yxn.0 for ; Tue, 26 Jul 2011 06:34:15 -0700 (PDT) In-Reply-To: <87fwltrhyo.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Org-mode List Bastien, At Tue, 26 Jul 2011 02:41:51 +0200, bzg wrote: > > Hi Daniel, > > Daniel E.Doherty writes: > > > Bastien, I did not use the T specifier at all. > > Why? > > 'T' is needed for duration computation -- unless you use the > specific calc format for time and date manipulation. > 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. Can you suggest a way this can be done? I've tried several variations as set out im my prior posts with no luck. The manual uses the example of using T to add two durations to get a duration. A function like seconds() to convert the duration to an integer would do the trick. Perhaps I'm missing something obvious. Thanks for following this thread. Regards, Dan