title: PHP check if variable is a whole number
body: <p>I have this PHP code:</p>
  
  <pre><code>$entityElementCount = (-($highScore-$totalKeywordCount))/0.29;
  </code></pre>
  
  <p>What i want to know is, how to check whether <strong>$entityElementCount</strong> is a whole number (2, 6, ...) or partial (2.33, 6.2, ...).</p>
  
  <p>Thank you!</p>