The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

ENG button (like Casio calculators) on HP Prime
Message #1 Posted by uklo on 27 Oct 2013, 8:12 p.m.

Hello, i have always used Casio calculators now i bought the HP Prime & i have a simple question.

It is possible to change the number format (only the result) to engineering with one button?

I know it is possible to change the number format but it's tedious to change it entering to settings (i not always want the result in that way)

Thanks

      
Re: ENG button (like Casio calculators) on HP Prime
Message #2 Posted by Michael de Estrada on 27 Oct 2013, 8:51 p.m.,
in response to message #1 by uklo

You can write a short program to do this, using the reserved settings variable HFormat.

            
Re: ENG button (like Casio calculators) on HP Prime
Message #3 Posted by uklo on 2 Nov 2013, 12:44 p.m.,
in response to message #2 by Michael de Estrada

Hello Michael, thanks for the answer.

I have done this:

EXPORT eng(X)

BEGIN

LOCAL ans;

ans:=X;

HFormat:=3;

RETURN ans;

END;

it works fine but i have two problems:

1.I want to assign it to a button, like to be at CAS mode, the touch button "simplif" to have a button "eng"... is that possible?

2. I don't want that it changes the mode which i'm working.

In order to do that i've tried to put a HFormat:=0; after the RETURN but that didn't work.

Thanks :)

Edited: 2 Nov 2013, 1:45 p.m.

                  
Re: ENG button (like Casio calculators) on HP Prime
Message #4 Posted by LHH on 4 Nov 2013, 9:45 p.m.,
in response to message #3 by uklo

Maybe this could be added to the time/date/battery popup. Just noticed you can change the angle setting there (degrees or radians) via touching. I switch formats often going from scientific to financial and back again. Somewhat more tedious than it probably should be.

This is the original message:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv021.cgi?read=254063#254063


[ Return to Index | Top of Index ]

Go back to the main exhibit hall