HP Prime: Converting number to Sci notation and back - Printable Version +- HP Forums ( https://archived.hpcalc.org/museumforum)+-- Forum: HP Museum Forums ( https://archived.hpcalc.org/museumforum/forum-1.html)+--- Forum: Old HP Forum Archives ( https://archived.hpcalc.org/museumforum/forum-2.html)+--- Thread: HP Prime: Converting number to Sci notation and back ( /thread-255585.html) |

HP Prime: Converting number to Sci notation and back - BruceTTT - 11-11-2013
Is there a simple way to convert a floating point to scientific notation and the reverse as well? (IOW a sic notation method like the a b/c button).
Re: HP Prime: Converting number to Sci notation and back - Phil Wipf - 11-12-2013
One method, maybe not what you are looking for, is make a user key program to change the global HFormat setting. Whatever key you pick (in this case EEX) will cycle through the formats, you could easily make it cycle through only the formats you want. It updates any numbers on the stack/history as well. The STARTVIEW lines are just a way to get the screen to update, RETURN 5 returns a HOME key press which is the way I have found to "not do anything extra". The only problem I know with this method is it will take you to the home screen as it switches modes. Also some keys don't let you re-assign them.
KEY K_Eex() or an alternative
KEY K_Eex()
(To make a User Key just put those lines in any program listing, substitute for K_Eex the key you want to use, and then SHIFT->Help(User) + EEX) |