HP Forums

Full Version: Quick switch between number format and exact/approximate results
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
which Casio model are you using.
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
(10-17-2022 10:12 PM)thenozone Wrote: [ -> ]which Casio model are you using.

Most modern Casios, fx-991ES for example.
Reference URL's