title: Why Can I add a String and a Int in Bash
body: <pre><code>a="5"
  b=1
  c=$((a+b)
  echo $c
  </code></pre>
  
  <p>c prints out 6</p>
  
  <pre><code>a="banana"
  b=1
  c=$((a+b))
  echo $c
  </code></pre>
  
  <p>c prints out 1</p>
  
  <p>How does bash recognize a="5" as an integer? Why does a="banana" become 0?</p>