12 Replies Latest reply on Jan 2, 2007 10:29 AM by 807599

    Subtraction with Doubles

    807599
      I have this code below:
      double y = 200.000 - 191.544;
      and the output is:
      y = 8.455999999999989

      Why does this happen, I was expecting "8.456"?