Doing arithmetic operations in bash is not similar to other standard programming languages. One of the limitations of bash is that it can’t handle floating point or double numbers like other scripting languages. Ways to perform the arithmetic operations using different commands are discussed in this article using multiple examples.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed