Post Reply 
Quick switch between number format and exact/approximate results
10-16-2022, 02:57 PM
Post: #1
Quick switch between number format and exact/approximate results
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.
Find all posts by this user
Quote this message in a reply
10-17-2022, 10:12 PM
Post: #2
RE: Quick switch between number format and exact/approximate results
which Casio model are you using.
Find all posts by this user
Quote this message in a reply
10-18-2022, 01:37 AM
Post: #3
RE: Quick switch between number format and exact/approximate results
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
Find all posts by this user
Quote this message in a reply
10-18-2022, 10:48 AM
Post: #4
RE: Quick switch between number format and exact/approximate results
(10-17-2022 10:12 PM)thenozone Wrote:  which Casio model are you using.

Most modern Casios, fx-991ES for example.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)