title: How can i format a float variable in scala?
body: <p>i need to format this variable :</p>
  
  <pre><code>val value = 3.2202 
  </code></pre>
  
  <p>in a number like this: 3.2 </p>
  
  <p>How can i make this in scala?
  I don't want a string or a println...I need another float variable with 1 decimal.</p>