title: PHP Division Float Value Issue
body: <p>When I Try get remainder, It gives invalid value. I am trying to get remained of two decimal values and I get </p>
  
  <blockquote>
    <p>3.4694469519536E-18</p>
  </blockquote>
  
  <p>My Values are</p>
  
  <pre><code> $x=0.1; $y=0.005;
  </code></pre>
  
  <p>I tried the following:</p>
  
  <pre><code>echo $ed = fmod(0.1,0.005);  OutPut:3.4694469519536E-18
  echo $ed = ((floatval(0.1)) % (floatval(0.005)));
  </code></pre>
  
  <p>But getting</p>
  
  <pre><code>Warning: Division by zero
  </code></pre>
  
  <p>But Reality is 0.1 will be divide by 0.005 in <strong>20</strong> times. i.e. <code>0.1/0.005 = 20</code></p>
  
  <p>The same function returns correct value when I use <code>10%1 = 0</code>. </p>
  
  <p>How can I get the exact remainder. ( I don't face the same issue in JQuery :) )</p>
  
  <p>Check an Work Around: <a href="https://stackoverflow.com/questions/26100581/php-division-float-value-workaround">PHP Division Float Value WorkAround</a></p>