HP Forums
Convert number to engineering notation - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Convert number to engineering notation (/thread-6734.html)



Convert number to engineering notation - farefernandez - 08-27-2016 10:04 AM

Is it possible to convert a number to its engineering notation with the HP prime?

Thanks!


RE: Convert number to engineering notation - retoa - 08-27-2016 06:38 PM

You can change the Number Format in settings (home) and all numbers on the history stack will be displayed in the notation you choose. Also the already calculated results.

If you want to program it (e.g. in a user-key) you can set HFormat:=3, you can also set the number of digits with HDigits:=2 (number of digits after the decimalpoint)
HFormat:=0 will reset standard mode


RE: Convert number to engineering notation - Joe Horn - 08-30-2016 04:16 AM

You can also program it using the STRING function.

Syntax: STRING(value, 4, digits)
where 4 specifies Engineering mode
and digits+1 is how many significant digits you'll get

Example: STRING(Gamma(12.3),4,6) --> "83.38537ᴇ6"

See the Help system's entry for STRING for more information.

Warning: In CAS, STRING must be spelled using uppercase letters. Case doesn't matter in Home or in ordinary programming.


RE: Convert number to engineering notation - Simone Cerica - 08-30-2016 08:33 AM

CASIO-like ENG key for HP Prime --> http://www.hpmuseum.org/forum/thread-5039.html
Wink


RE: Convert number to engineering notation - salvomic - 08-30-2016 10:34 AM

(08-30-2016 08:33 AM)Simone Cerica Wrote:  CASIO-like ENG key for HP Prime --> http://www.hpmuseum.org/forum/thread-5039.html
Wink

I'm using that program also, very nice and useful! :-)