trying to update a value and get it after being updated in a while loop
<p>When I output  pW it gives me the original value</p>

<pre><code>    double plateWt = wWeight - bWval;

    while (plateWt &gt; 200 &amp;&amp; plate100val &gt; 0) {
        plateWt = plateWt - 200;
        plate100 ++;
        plate100val --;
    }
    while (plateWt &gt; 90 &amp;&amp; plate45val &gt; 0) {
        plateWt = plateWt - 90;
        plate45 ++;
        plate45val --;
    }
    while (plateWt &gt; 70 &amp;&amp; plate35val &gt; 0) {
        plateWt = plateWt - 70;
        plate35 ++;
        plate35val --;
    }
    while (plateWt &gt; 50 &amp;&amp; plate25val &gt; 0) {
        plateWt = plateWt - 50;
        plate25 ++;
        plate25val --;
    }
    while (plateWt &gt; 20 &amp;&amp; plate10val &gt; 0) {
        plateWt = plateWt - 20;
        plate10 ++;
        plate10val --;
    }
    while (plateWt &gt; 10 &amp;&amp; plate5val &gt; 0) {
        plateWt = plateWt - 10;
        plate5 ++;
        plate5val --;
    }
    while (plateWt &gt; 5 &amp;&amp; plateQval &gt; 0) {
        plateWt = plateWt - 5;
        plateQ ++;
        plateQval --;
    }
    Log.i("LOG_TAG", "PlateWeight value: " + plateWt);
    double pw = plateWt;
    warmupPlatesOneTextView.setText(String.valueOf(pw));
</code></pre>

<p>11-25 15:16:16.867: I/LOG_TAG(21569): PlateWeight value: 5.0
11-25 15:16:16.883: I/LOG_TAG(21569): PlateWeight value: 10.0
11-25 15:16:17.121: I/LOG_TAG(21569): PlateWeight value: 45.0
11-25 15:16:17.145: I/LOG_TAG(21569): PlateWeight value: 45.0</p>
