title: Showing float numbers Grails in gsp
body: <p>I want to manipulate float numbers in gsp, here is what i want:</p>
  
  <p>If the number has a 1.* i want it to show the dot, but if it ends with zero i dont want it to show the dot and zero.</p>
  
  <p>like this:</p>
  
  <p>Score: 1.5</p>
  
  <p>Score: 1</p>
  
  <p>Score: 2.1</p>
  
  <p>Score: 3</p>
  
  <p>The score variable is a float number and it is an input field on the gsp that loads the number and it can be changed.</p>
  
  <p>But the real problem is, how can i see if the number has decimals?</p>