I need to do simple financial calculations on Linux and had been using wcalc for this until I stumbled upon a wrong result caused by floating-point number issues. Is there a calculator (I really would prefer the command-line) that one can rely on for this task? One that doesn't use floats internally?
1 Answer
As pointed out in the comments to my question, bc doesn't have this problem. Another solution is the the more powerful command line of Qalculate! which seems to fulfill my needs.
bc, which is an arbitrary-precision arithmetic calculator.bcsource code to see what it's doing, but "decimal" is not the same as "integer".