Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Dividing times...

From: greggirwin::mindspring::com at: 8-Jan-2003 21:13

Hi Carl,
>>> t1: 0:00:59 t2: 0:00:15
CR> == 0:00:15
>>> (t1/1 * 3600 + (t1/2 * 60) + t1/3) / (t2/1 * 3600 + (t2/2 * 60) +
CR> t2/3) CR> == 3.9333333333333 CR> but is there a better way? I don't know about better but...
>> 0:00:59 / to integer! 0:0:15
== 0:00:03.933333333 -- Gregg