title: Spring expression language (SpEL): parse String to int
body: <p>I've got a (<code>String</code>, obviously) property expressed in minutes that I want to convert to an <code>int</code> before I do some arithmetic and inject it into my Spring bean. Right now I have this SpEL expression:</p>
  
  <pre><code>#{T(java.lang.Integer).parseInt(myProperties['MIN_TIME']) * 60 * 1000}
  </code></pre>
  
  <p>where <code>myProperties</code> is a simple <code>java.util.Properties</code> bean.</p>
  
  <p>Not that I'm particularly annoyed by this expression, but nevertheless: does the SpEL have a prettier, built-in way to parse strings into numeric values?</p>
  
  <p>Thanks!</p>