title: variables of type double comparison always returns false
body: <p>my code has something like this:</p>
  
  <pre><code>double TMR_HV ;
  ....
  TMR_HV =2.0; // in another part of my code
  
  
  void RTKAPI Tempos10(void * p) // task for timers
  {
      while(1) {
          if (TMR_HV &gt; 0.00)  TMR_HV -= 0.01; 
          else TMR_HV = 0.00;
          RTKDelay(1);
      }
  }
  </code></pre>
  
  <p>The condition <code>if</code> is always false. can anyone help me with this?</p>