title: Perl converts to int wrong but only with specific number
body: <p>the following perl code converts a float number to the wrong integer number</p>
  
  <pre><code>use strict;
  
  my $zahl =297607.22000;
  $zahl=$zahl * 100;
  print "$zahl\n";
  my $text=sprintf ("%017d",$zahl);
  print $text;
  </code></pre>
  
  <p>The output of this is :</p>
  
  <pre><code>29760722
  00000000029760721
  </code></pre>
  
  <p>The thing is, you can change the given number to other numbers and it works.</p>
  
  <p>Any idea what is wrong here or does Perl simply do it wrong?</p>
  
  <p>Thanks for your help!</p>