title: Incorrect Value From R.dimen
body: <p>I have a dimension resource setup in my res/dimens.xml like so:</p>
  
  <pre><code>&lt;dimen name="cornerRadius"&gt;40.0dp&lt;/dimen&gt;
  </code></pre>
  
  <p>However, when I grab it into a float object like this:</p>
  
  <pre><code>float cornerRadius = R.dimen.cornerRadius;
  </code></pre>
  
  <p>And output the value, it gives me <code>2.1309686E9</code> every time. I'll change the value from 40.0dp to 15dp and it still outputs <code>2.1309686E9</code>.</p>
  
  <p><em>What am I doing wrong?</em></p>