3
votes
3answers
576 views

How is bc different from dc?

What are the differences between dc and bc calculators? When should I use dc and when bc?
110
votes
15answers
49k views

How to do integer & float calculations, in bash or other languages/frameworks?

Using echo "20+5" literally produces the text "20+5" What command can I use to get the numeric sum, e.g. 25 in this case. Also, what's the easiest way to do it just using bash for floating point, ...