title: float variable doesn't meet the conditions (C)
body: <p>I'm trying to get the user to input a number between 1.00000 to 0.00001 while edges not included into a float variable. I can assume that the user isn't typing more than 5 numbers after the dot.
  now, here is what I have written:</p>
  
  <pre><code>printf("Enter required Leibniz gap.(Between 0.00001 to 1.00000)\n");
  scanf("%f", &amp;gap);
  while ((gap &lt; 0.00002) || (gap &gt; 0.99999))
  {
  printf("Enter required Leibniz gap.(Between 0.00001 to 1.00000)\n");
  scanf("%f", &amp;gap);
  }
  </code></pre>
  
  <p>now, when I'm typing the smallest number possible: 0.00002 in getting stuck in the while loop.
  when I run the debugger I saw that 0.00002 is stored with this value in the float variable: 1.99999995e-005 
  anybody can clarify for me what am I doing wrong? why isn't 0.00002 meeting the conditions? what is this "1.99999995e-005" thing.</p>