arithmetic-operator
Bash , arithmetic operator
Evaluates left expression then right expression and yields the right value.
Formal Syntax & Structure
bash syntaxbash
$(( (2 + 3, 7 * 2) ))Return Value
integer
Evaluates left expression then right expression and yields the right value.
Working Example
Example Snippetbash
printf '%s\n' "$(( (2 + 3, 7 * 2) ))"