3 Replies Latest reply on Aug 4, 2006 3:20 PM by JohnathonS

    MOD not giving up correct values

    AntiTRUST�
      Hi everyone,
      I am having problem on using MOD in Director, i wrote the following in director:
      put (3054452055 mod 16)
      -----giving result "-9"

      The value/result it gives me is not correct. It should be "7". But director is giving me "-9".

      So, the same thing i did in FLash by just simply putting the following:
      trace(3054452054445%16);
      and it gives me correct answere.

      So, i want to know why Director is mis calculating the simple calculations ??


      Amir