title: Formula for number is decimal or not in Crystal Reports
body: <p>In my table I have values as:</p>
  
  <pre><code>5
  6
  12.06
  15.933
  </code></pre>
  
  <p>I need to display in <a href="http://en.wikipedia.org/wiki/Crystal_Reports" rel="nofollow noreferrer">Crystal Reports</a> as</p>
  
  <pre><code>5
  6
  12.1
  15.9
  </code></pre>
  
  <p>Can anyone get me formula to do above?</p>
  
  <p>I tried this formula:</p>
  
  <pre><code>tonumber({table.field})
  </code></pre>
  
  <p>But I get the result as below which I don't want.</p>
  
  <pre><code>5.0
  6.0
  12.06
  15.93
  </code></pre>