> When I used Kubuntu, there was a package for ‘calc’
> (http://www.isthe.com/chongo/tech/comp/calc/), a command line-based
> calculator. Does anyone know of a repository that has an RPM for calc?
just as addition. You can use python as calculater
~> python
Python 2.6 (r26:66714, Feb 3 2009, 20:52:03)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> 2+2
4
>>> 2-1
1
>>> 2/1
2
>>> 23
6
>>> import math
>>> math.sqrt (16)
4.0
>>> math.sin (90math.pi/180)
1.0
>>> math.cos (0*math.pi/180)
1.0
>>> max(21, 3, 5, 15, 159)
159
>>> min(21, 3, 5, 15, 159)
3