title: How to compare double in delphi?
body: <p>We are facing issue with data type double comparison:</p>
  
  <pre><code>if(p &gt; pmax) then
  begin
    Showmessage('');
  end
  </code></pre>
  
  <p>If both values are 100 (p=100 and pmax = 100), then also it is going inside if clause.</p>