title: PHP How to distinguish 0 from 0.0
body: <p>I have to distinguishing (0 and 0.0 ). How I can do that??</p>
  
  <pre><code>&lt;?php 
  $val1 = '0';
  $val2 = '0.0';
  if ($val1 == $val2) echo "OK" ; 
  ?&gt; 
  </code></pre>