8 Replies Latest reply on Jul 17, 2006 5:34 PM by Newsgroup_User

    Finding the remainder of a division


      I want to do a division in actionscript, say 49/2 and I want to return 2 variables - the integer that goes into 49 twice=24 and the remainder- 1. I also want this to return a remainder of 0 if there is no remainder.

      I'm just a little stuck on the code i'd use.

      Thanks in advance,