title: Bash comparing float numbers using POSIX compliance
body: <p>my case is very simple:</p>
  <p>I am trying to compare two values:</p>
  <pre><code>a=0.2
  b=0.1
  </code></pre>
  <p>The code that I am trying to execute is:</p>
  <pre><code>if [ &quot;$a&quot; -gt &quot;$b&quot; ]; then
          echo &quot;You are running an outdated version&quot;
  fi
  </code></pre>