title: How to convert a string to a number (float) in Perl
body: <p>How do I convert a string to number in Perl?</p>
  
  <p>Example:</p>
  
  <pre><code>$str = '10.0500000';
  $number = $str * 1;  # 10.05
  </code></pre>
  
  <p>Is there another standard way to get 10.05 from '10.0500000' instead of multiplying with one?</p>