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

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

    screeen Level 1

      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.