SyntaxFix
Write A Post
Hire A Developer
Questions
In the bash shell, surround arithmetic expressions with $(( ... ))
$(( ... ))
$ echo $(( 7 / 3 )) 2
Although I think you are limited to integers.