5 Replies Latest reply: Mar 23, 2012 5:22 AM by Ned Murphy RSS

    'divisible by' help: how do you write 'a number is divisible by 6'?

    screeen Community Member

      Hi. I have a timer going, that i want to reactivate every time the score is divisible by 6.

      so, i wrote

      public var number:uint;




           number = 6;



      but that is wrong.


      Can anyone help me write the notion of a number being divisible by 6.