title: Ceil only floating point numbers in bash linux
body: <p>In linux bash, I want to get the next integer for a given number only if it is a floating point number. I tried with </p>
  
  <pre><code>count=$((${count%.*} + 1));
  </code></pre>
  
  <p>But with the above code, all the time (even if the number is not floating point), it is giving next integer.</p>
  
  <p><strong>Expected result :</strong></p>
  
  <pre><code>345.56 =&gt; 346
  345.12 =&gt; 346
  345 =&gt; 345
  </code></pre>
  
  <p>Can anyone help me to find the solution?</p>
  
  <p>Thanks in advance.</p>