->HR <-> ->HMS « Next Oldest | Next Newest »

 ▼ gileno Member Posts: 243 Threads: 122 Joined: Jan 2006 09-01-2004, 10:02 PM I need the equation to convert ->HR <-> ->HMS. Thank you !!! ▼ Brent Junior Member Posts: 48 Threads: 7 Joined: Jan 1970 09-01-2004, 10:33 PM I don't believe there is an equation, just some steps youyou have to follow: -write down the degrees -take the fractional part and multiply by 60 -the whole number is the minutes -take the new fractional part and multiply by 60 -the whole number is the seconds and the fractional part is the fractional seconds. There should be a button to do all this on a good calculator. Edited: 1 Sept 2004, 10:34 p.m. Cyril RABIH Junior Member Posts: 10 Threads: 1 Joined: Jan 1970 09-02-2004, 09:04 AM Hi man, if you really want to have a single équation, I show you what I've found during the last 15 minutes. H->HMS f(x)=IP(x)+(1/100)*IP(60.FP(x))+(1/10000)*IP(3600*(FP(x)-(1/60)*IP(60*FP(x)))) HMS->H f(x)=IP(x)+(1/60)*IP(100*FP(x))+(1/3600)*IP(10000*(FP(x)-(1/100)*IP(100*FP(x)))). You must enter 15h28mn15s as 15.2815 I've tried it with some examples and I think it's ok. I hope it will help you. Edited: 2 Sept 2004, 9:19 a.m. bill platt Posting Freak Posts: 2,448 Threads: 90 Joined: Jul 2005 09-02-2004, 09:24 AM Also, compare to the equation I wrote in a previous post:Edited: 2 Sept 2004, 10:48 a.m. ▼ gileno Member Posts: 243 Threads: 122 Joined: Jan 2006 09-02-2004, 07:57 PM Thank you ▼ bill platt Posting Freak Posts: 2,448 Threads: 90 Joined: Jul 2005 09-03-2004, 01:06 PM You are welcome! BTW, I had too many parenthesis: It should be: H.MS-->HR: (FP(100*A)/0.6+IP(FP(A)*100))/60+IP(A) And Also, here is my solution t'other way 'round: HR-->H.MS: IP(x)+IP(FP(x)*60/100+FP(FP(x)*60)*60/10000 Note that the precedence rules of the above text is as per the HP48 series. These are nice and compact. Best regards, Bill

 Possibly Related Threads... Thread Author Replies Views Last Post HMS commands Geoff Quickfall 6 1,384 10-14-2013, 06:27 PM Last Post: Tim Wessman 8/60 -> HMS PGILLET 47 6,342 05-04-2013, 11:38 AM Last Post: Thomas Klemm Re: more HMS, aTIME, 34s display, 41c bugs? Christopher Johnson 0 509 03-05-2012, 11:20 AM Last Post: Christopher Johnson more HMS, aTIME, 34s display, 41c bugs? Christopher Johnson 2 716 02-25-2012, 10:06 PM Last Post: Luiz C. Vieira (Brazil) wp 34s vs 41c hms+ Christopher Johnson 9 1,562 02-23-2012, 10:04 AM Last Post: Christopher Johnson H to HMS Bug in HP 15C LE? Eddie W. Shore 2 651 09-26-2011, 11:22 AM Last Post: Eddie W. Shore adding time segmetns (HMS+)?? with 41CX? Sam Samaha 15 2,352 02-23-2011, 01:22 AM Last Post: Ángel Martin HMS+, HMS-, HMS, HR: LEX files Geoff Quickfall 2 717 12-12-2010, 03:52 PM Last Post: Geoff Quickfall Electri-Calc LT bill platt 6 1,289 12-04-2008, 11:26 PM Last Post: bill platt Formulas for ->HMS & ->HR Pekis 0 435 06-08-2008, 05:48 PM Last Post: Pekis

Forum Jump: