From: <di...@ta...> - 2005-08-31 06:05:50
|
On Tue, Aug 30, 2005 at 10:57:27AM -0300, Thane Sherrington wrote: > I want to calculated the number of hours in decimal between a start and end > time. I have this: > (dur (- (int %4) (int %3))) and that gives me the time in time format, but > I want to be view it like this: > 1:00 would come out as 1.0, 1:30 would come out as 1.5, etc. How can I do > this? Try something like (/ (- (int %4) (int %3)) 60.0) -- Didi |