3 Replies Latest reply on Jun 14, 2006 2:21 AM by toben

    Math.round doesn't work

    toben
      Hi everyone!
      I have a problem with the Math.round function. When I code:

      Math.round(undefined);

      in my flash-movie, it returns the number 0!! But when I test the same code in a new flash document it returns NaN.
      So my question will sound: Why does it return 0??

      /Tobias