Calculator?

Post there if an important software is missing and has to be added
Post Reply
trust
Posts: 14
Joined: 10 Sep 2009, 16:44

Calculator?

Post by trust » 02 Aug 2013, 10:30

This is really a huge miss, I hate using Google's online calculator (for correctly sized SSD partitions), not to mention you are not always online with SystemRescueCD, right?

Something simple like Windows Calculator will suffice, I don't know the alternatives for Linux.

Thank you.

gernot
Posts: 1130
Joined: 07 Apr 2010, 16:19

Re: Calculator?

Post by gernot » 02 Aug 2013, 11:07

Just type xcalc.

You can also use the textmode calculator "bc"
Use e.g. scale=3 to show 3 fractional digits.

dc is a textmode UPN calculator.


Gernot

Hw112
Posts: 4
Joined: 15 Dec 2013, 06:28

Re: Calculator?

Post by Hw112 » 15 Dec 2013, 14:19

There is a nice CLI program "calc", which I use in Arch. Looks like this:

Code: Select all

calc '2 * 2 + (98 - 3)'
It would be good if maintainers add this program.

gernot
Posts: 1130
Joined: 07 Apr 2010, 16:19

Re: Calculator?

Post by gernot » 15 Dec 2013, 18:04

try this
echo '2 * 2.495 + (98 - 3)'|bc

Gernot

LazyKent
Posts: 29
Joined: 12 Dec 2009, 09:30
Location: Moscow, Russia

Re: Calculator?

Post by LazyKent » 01 Jan 2014, 15:05

Using zsh:

Code: Select all

% echo $((2 * 2.495 + (98 - 3)))
99.989999999999995

shantanu_gadgil
Posts: 46
Joined: 14 Aug 2007, 17:34

Re: Calculator?

Post by shantanu_gadgil » 26 Dec 2014, 14:32

+1 for bc
(bc - An arbitrary precision calculator language)

From the past, I have the habit of using "bc -l" (floating points using the math lib)

Regards,
Shantanu

trust
Posts: 14
Joined: 10 Sep 2009, 16:44

Re: Calculator?

Post by trust » 28 Nov 2016, 13:48

OP here. I use http://web2.0calc.com/ - when there is a working Internet connection. Something similar (graphical) working offline might be interesting. Or something like the the stock windows Calculator or an old style hardware calculator (with similar features). Those memory buttons have a purpose.

I'll check with your recommendation, when booting from inside SystemRescueCd. :)

Post Reply