title: Why is this Golang code to convert a string to an integer failing?
body: <p>This should have been simple:</p>
  
  <pre><code>strconv.Atoi("1250000.0000")
  </code></pre>
  
  <p>This results in an error:</p>
  
  <blockquote>
    <p>0 strconv.ParseInt: parsing "1250000.0000": invalid syntax</p>
  </blockquote>
  
  <p>Any clues?</p>