title: Assign to Float from string with precision
body: <p>I have the following code, I want to assign a decimal value to float without losing precision.</p>
  
  <pre><code>String s1= "525.880005";
  Float f = new Float(s1);
  System.out.println(f);
  </code></pre>
  
  <p><strong>Output:</strong>
  5.88</p>
  
  <p><strong>Expected Output:</strong>
  525.880005</p>