title: Bash Script "integer expression expected" , use of floats in bash instead of other language
body: <p>I am new to bash scripting. My code is :</p>
  
  <pre><code>MK=M
  SM=1.4
  
  if [[ $MK == "M" ]]
   then
          if [ $SM -gt 1.3 ]
              then
              echo "Greater than 1.3M"
              else
              echo "Less than 1.3M"
              fi
   else
   echo "Not yet M...."
  fi
  </code></pre>
  
  <p>Reply:</p>
  
  <pre><code>/tmp/tmp.sh: line 6: [: 1.4: integer expression expected
  Less than 1.3M
  </code></pre>
  
  <p>What am i doing wrong ?</p>