12 Replies Latest reply: Jan 2, 2007 4:29 AM by 807599 RSS

    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"?