bash: perform mathematical operations on strings

If VAR1 and VAR2 are strings having integer values like:
VAR1=”12″

VAR2=”2″

Then mathematical operations can be performed on it as below:
VAR3=$(echo “$VAR1 $VAR2” | awk ‘{print $1+$2}’)

OR you can also use:
VAR3=$(awk ‘{print $1+$2}’ <<<“$VAR1 $VAR2”)