[REBOL] Dividing times...
From: carl:cybercraft at: 9-Jan-2003 16:41
REBOL's none too precise when it comes to dividing times...>> 0:00:59 / 0:00:15== 3>> 0:00:59 / 0:00:14== 4 since it returns an integer...>> type? 0:00:59 / 0:00:14== integer! Obviously we can do something like this...>> t1: 0:00:59 t2: 0:00:15== 0:00:15>> (t1/1 * 3600 + (t1/2 * 60) + t1/3) / (t2/1 * 3600 + (t2/2 * 60) +t2/3) == 3.9333333333333 but is there a better way? -- Carl Read