Formulas for >HMS & >HR  Printable Version + HP Forums (https://archived.hpcalc.org/museumforum) + Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum1.html) + Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum2.html) + Thread: Formulas for >HMS & >HR (/thread137892.html) 
Formulas for >HMS & >HR  Pekis  06082008 Hello,
... A bit of fun with maths ... :) Decimal number > Hours, minutes and seconds >HMS(x): (90*x+100*INT(x)+INT(60*x))/250 Ex: >HMS(pi)=3.08297335529 (i.e. 3 h 08 m 29.73... s) Hours, minutes and seconds > decimal number >HR(x): (250*x60*INT(x)INT(100*x))/90 Ex: >HR(3.08297335529)=3.14159265359 Are these formulas well known ?
Rem.: Beware of internal representation of some numbers !
