title: android - convert dp to float
body: <p>My font size is 12dp.</p>
  
  <p>I'm setting the font using <code>TextPaint</code>, since I'm using a span.  The problem is the parameter that <code>TextPaint</code> accepts is in float.  I'm wondering how can I convert 12 dp to float?</p>