<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tyler Rodriguez</title>
    <description>The latest articles on DEV Community by Tyler Rodriguez (@pyguyty).</description>
    <link>https://dev.to/pyguyty</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F328099%2F5e3ee74a-5e4e-4b5d-ae15-f0a7c4158739.jpg</url>
      <title>DEV Community: Tyler Rodriguez</title>
      <link>https://dev.to/pyguyty</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pyguyty"/>
    <language>en</language>
    <item>
      <title>Integer.parseInt() will only work with Strings that are...well...ints.</title>
      <dc:creator>Tyler Rodriguez</dc:creator>
      <pubDate>Sat, 01 Feb 2020 03:38:10 +0000</pubDate>
      <link>https://dev.to/pyguyty/integer-parseint-will-only-work-with-strings-that-are-well-ints-2ko6</link>
      <guid>https://dev.to/pyguyty/integer-parseint-will-only-work-with-strings-that-are-well-ints-2ko6</guid>
      <description>&lt;p&gt;String numString = "8.35";&lt;br&gt;
Integer numInt = Integer.parseInt(numString);&lt;/p&gt;

&lt;p&gt;THIS WILL NOT WORK!!!&lt;/p&gt;

&lt;p&gt;I made the (wrong) assumption that parseInt will just convert 8.35 to an Integer value of 8 and then do the parsing. NO! WRONG! It will throw an exception. I forgot which exactly. I will add it in later when I check. You can update blogs on dev.to, right? I hope so. Anyways, that's what I have learned. So I thought I would write this post to share my knowledge.&lt;/p&gt;

</description>
      <category>java</category>
    </item>
  </channel>
</rss>
