title: Why PHP returns false in if condition when array_sum() value is 1?
body: <p>I am facing one weird issue, sum of array is 1 but when I checking it into the IF condition it returns false.</p>
  
  <pre><code>$array = array
  (
      0 =&gt; 0.237,
      1 =&gt; 0.318,
      2 =&gt; 0.215,
      3 =&gt; 0.06,
      4 =&gt; 0.069,
      5 =&gt; 0.053,
      6 =&gt; 0.048
  );
  
  if(array_sum($array) != 1){
      echo "It's not one";
  } else {
      echo "It's one"; 
  }
  </code></pre>
  
  <p>Above code is returning <strong>It's not one</strong> instead of <strong>It's one</strong>.</p>