This forum has been archived. All content is frozen. Please use KDE Discuss instead.

calculator keeps track of previous calculations

11

Votes
11
0
Tags: krunner krunner krunner
(comma "," separated)
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
With the calculator runner in krunner, after you do a calculation you can hit enter to put the result back into the text input field, allowing you to do further calculations. So for instance if you type "=5+4" and hit enter, the area where you type the text in will read "=9". My idea is that when you hit enter, the previous calculation (=5+4) is placed below the current results. If the list of calculations gets too long, you can scroll down to see previous ones. If you want to re-do a previous calculation, you can just click on it or navigate down to it using the tab button to put it back in the text input box. The current calculator runner only takes up one line, there is a lot of empty space that is just not being used.

As an example, you start with this (the brackets represent the text you typed):
Code: Select all
[ =5+4 ]
9


You hit enter and you get this:

Code: Select all
[ = 9 ]
9
1: =5+4


Type something else:

Code: Select all
[ =9*11 ]
99
1: = 5+4


Hit enter:

Code: Select all
[ = 99 ]
99
2: = 9*11
1: = 5+4


And so on:

Code: Select all
[ =log(99) ]
4.59511985013459
2: = 9*11
1: = 5+4


Code: Select all
[ = 4.59511985013459 ]
4.59511985013459
3: = log(99)
2: = 9*11
1: = 5+4


Code: Select all
[ =sin(4.59511985013459) ]
-0.9931318518859471
3: = log(99)
2: = 9*11
1: = 5+4



Code: Select all
[ =-0.9931318518859471 ]
-0.9931318518859471
4: = sin(4.59511985013459)
3: = log(99)
2: = 9*11
1: = 5+4


etc.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]