Android: float does not getting calculated
<p>Currently I'm having a problem, that drives me crazy.</p>

<p>You know, how the percentage is calculated.
It's (p/pMax)*100 , isn't it ?</p>

<p>That is just that, what I've written in code.
But I ALWAYS getting 0.0 as the result of this calculation.
See the screenshot for clarifying.</p>

<p><a href="http://i.stack.imgur.com/SToFO.png" rel="nofollow">eclipse screenshot</a></p>

<p>As you can see the float variable <em>prg</em> becomes <em>0.0</em> as the result of the calculation <em>(252/1944)*100</em></p>

<p>What am I doing wrong ?
If you want, I can put the variable initialization here.</p>

<p>Thanks for helping !</p>
