2 Replies Latest reply on Aug 22, 2007 4:11 AM by RobDan75

    floating point operations....

    RobDan75
      We ran into a serious calculation problem, to give you a few examples:

      trace(1.3456-1.3454) // gives 0.00019999999999997797 but should be 0.0002 clearly
      trace(1.3456*1.3456) // gives 1.8106393599999997 but should be 1.81063936

      Any idea on how to resolve the problem?

      Thanks,
      Dan