The Museum of HP Calculators

HP Forum Archive 02

[ Return to Index | Top of Index ]

Pregram for HP48G to Display deg, min, sec
Message #1 Posted by Jason on 21 Mar 2000, 5:12 a.m.

Can anyone direct me to somewhere where a prpgrams takes an angle and displays the angle in the form of degrees mins secs, thanks

      
Re: Pregram for HP48G to Display deg, min, sec
Message #2 Posted by Richard on 21 Mar 2000, 8:15 a.m.,
in response to message #1 by Jason

It must be possible but I never cracked it...(but I didn't try too hard.) I have a nice 92-Byte one for the 42s. Richard

      
Re: Pregram for HP48G to Display deg, min, sec
Message #3 Posted by Kevin Schoedel on 21 Mar 2000, 9:55 a.m.,
in response to message #1 by Jason

I'm not sure what you want, if \->HMS isn't it. Do you mean something like this, which converts an angle (in decimal degrees) to a string:

DUP IP "" + SWAP FP 60 * DUP IP "'" + SWAP FP 60 * "''" + + +

            
Thanks
Message #4 Posted by Jason on 21 Mar 2000, 2:09 p.m.,
in response to message #3 by Kevin Schoedel

Thanks,


[ Return to Index | Top of Index ]

Go back to the main exhibit hall