title: How to display float on screen? Libgdx
body: <p>I'm trying to display seconds on screen, in other words float, but I just knew that this is not possible:</p>
  
  <pre><code>font.draw(batch,float,x,y);
  </code></pre>
  
  <p>Also how do you compute for second, I wan't to print something like this on screen:1.2sec,3.2seconds. This is what I do instead which gives me a lot of decimal places.</p>
  
  <pre><code>seconds+=1*deltaTime;
  </code></pre>