16 Replies Latest reply on Sep 8, 2007 8:12 PM by kglad

    How to compare numbers?

    Level 7
      I have huge problem with pomparing numbers under Flash CS3 in AS2 mode.
      Operation:

      parseFloat("965.95")==965.95

      produces FALSE when swf is played via the browser and produces TRUE when
      played under Flash Player directly. How it behaves under AS3 - I don't
      know, I haven't done any tests.

      Windows XP Pro
      IE 7

      Does anybody can suggest workaround?