title: comparison of integer and floating point numbers in shell script
body: <p>In shell script how can we compare (integer and floating point) ,(flaoting point and floating point),(floating point and integer),(integer and integer) with only one if condition.</p>
  
  <p>i have  few examples like </p>
  
  <pre><code> set X=3.1
    set Y=4.1
    if [ $X &lt; $Y ] then
      echo "wassup"
    endif
  </code></pre>
  
  <p>But running the above from cron job doesnt seem to work.     </p>