title: Java, How to convert decimal number as string into an integer
body: <p>I have a text file with decimal numbers in it.  I am trying to use <code>Integer.valueOf()</code> in a Java program and it does not convert the decimal numbers. </p>
  
  <p>How do I convert the decimal number string into an int?</p>