|
|
| Everything HP200LX: Knowledge, Products, Service |
|
ETA and travel time remainingFrom Joe Reilly CompuServe ID: [76470,3310] The first equation gives the drive time remaining, the second gives an ETA (Estimated Time of Arrival; 24-hour clock, 13.38 = 1:38 pm). Hope they're of use. {TRAVEL TIME| (FP(Miles/MPH) *60/100)+ IP(Miles/MPH) =Hrs.Min} {TRAVEL ETA| If(IP(if(FP((( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME)>.60,(( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME-.60+1,(( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME))>24,if(FP((( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME)>.60,(( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME-.60+1,(( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME)-24,if(FP((( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME)>.60,(( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+ CTIME-.60+1,(( FP(Miles/MPH)*60/100)+ IP(Miles/MPH))+CTIME)) =ETA} The second equation uses the time set on your Palmtops internal clock, so make sure that it is accurate. The equation is complicated, but it works. If you have problems with it, double check your entry. Its easy to leave off a parenthesis.
|
|
Copyright © 2005 Thaddeus Computing Inc
<