HP Forums
Quick switch between number format and exact/approximate results - 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: Quick switch between number format and exact/approximate results (/thread-18969.html)



Quick switch between number format and exact/approximate results - qwezxcrty - 10-16-2022 02:57 PM

When I'm using a CASIO calculator, there is a extremely useful feature. That is we go to the history, select a output, and press the exponential key, we can toggle between scientific notation of the number or the number format. This can make small numbers much more readable, so that I don't need to count the zeros if I have a number like 1e-5. The fraction key also works similarly by switching between exact forms and approximate results.

Is there anyway to implement this, such as by user keyboard? Although less ideal, the toggled output can be shown else where, if changing directly the display in the history is not possible.


RE: Quick switch between number format and exact/approximate results - thenozone - 10-17-2022 10:12 PM

which Casio model are you using.


RE: Quick switch between number format and exact/approximate results - gehakte_bits - 10-18-2022 01:37 AM

Something like this ?
PHP Code:
// 2022.1016 pretty-prime v0.2b
#pragma mode(separator(.,;) integer(h32))

LOCAL fs;
KEY KS_Eex()                                // assigned to <<shift>> <<EEX>>
BEGIN 
  
IF HFormat≠0 THEN 
    fs
:=HFormat;                            // save orig setting
    
HFormat:=0;                             // show standard format
  
ELSE 
    IF 
fs≠0 THEN 
      HFormat
:=fs;                          // show alt.format
    
ELSE 
      
HFormat:=1;                           // force alternate view
    
END;
  
END;
  RETURN -
1;
END



RE: Quick switch between number format and exact/approximate results - qwezxcrty - 10-18-2022 10:48 AM

(10-17-2022 10:12 PM)thenozone Wrote:  which Casio model are you using.

Most modern Casios, fx-991ES for example.