3 Replies Latest reply on Jul 13, 2006 4:57 AM by Nixy

    Simple Math equation in Flash BUGGSSS

    Nixy Level 1
      I'm doing a simple Minus equation
      here it is:

      Question : 100.24 - 100.23
      My Answer : 0.01
      Flash Answer : = 0.0.00999999999999091

      Question : 10.24 - 10.23
      My Answer : 0.01
      Flash Answer : = 0.00999999999999979

      Question : 0.24 - 0.23
      My Answer : 0.01
      Flash Answer : = 0.01

      Why when i'm over 10.00, Flash gives me a wrong answer. Also, there is somethings weird. If I put the number in textfields and I display the result, it will be different of the same equation in a trace.

      I need to build a form that calculate money. It's a problem for me if decimal are not valid!

      Any idea?