Using echo "20+5" literally produces the text " 20+5". What command can I use to get the numeric sum, 25 in this case? Also, what's the easiest way to do it just using bash for floating point? For example, echo $((3224/3807.0)) prints 0 :(.
How to do integer & float calculations, in bash or other languages/frameworks? 
Added 2 months ago by Frederic Brodbeck
Show info
How to do integer & float calculations, in bash or other languages/frameworks? 
Info
Using echo "20+5" literally produces the text " 20+5". What command can I use to get the numeric sum, 25 in this case? Also, what's the easiest way to do it just using bash for floating point? For example, echo $((3224/3807.0)) prints 0 :(.
1 Connection