User Tag List

Results 1 to 4 of 4

Thread: divisible by in expression help

  1. #1
    Clicker Fusion 2.5 (Steam)
    Tebi1234's Avatar
    Join Date
    Apr 2016
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question divisible by in expression help

    What I'm trying to do is compare an alterable value to be equal to any number that is divisible by a certain number.
    Does anyone know how to do this? Please reply if you know.

  2. #2
    Clicker Fusion 2.5 (Steam)
    Tebi1234's Avatar
    Join Date
    Apr 2016
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to add more, is there any way to put it so it can be any number except for some specific numbers?

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Christian_Wheel's Avatar
    Join Date
    Mar 2010
    Location
    Los Angeles
    Posts
    371
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    What you're looking for is the modulus, which is a fancy word for remainder.

    When ("Alterable Value A" mod 2) = 0 then alterable value a is perfectly divisible by 2.

    For specific exclusions you'll likely need to hard-code those with additional conditions, such as

    ("Alterable Value A" mod 2) = 0
    + ("Alterable Value A" <> 3)

    etc...

  4. #4
    Clicker Fusion 2.5 (Steam)
    Tebi1234's Avatar
    Join Date
    Apr 2016
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I understand. thanks for answering me, i really appreciated it

Similar Threads

  1. Help with Mod expression!
    By Psychoplasmics in forum Fusion 2.5
    Replies: 3
    Last Post: 3rd March 2018, 11:31 AM
  2. Help with an expression
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th December 2014, 09:44 PM
  3. Help with expression
    By Kentronisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 31st October 2012, 11:57 PM
  4. Asking about mod expression
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th March 2009, 01:31 AM
  5. Looking for an expression
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th July 2008, 03:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •