User Tag List

Results 1 to 4 of 4

Thread: problem math calculation

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    problem math calculation

    I have a problem with a math calculation. I have three objects that have a value of 0/1
    when I do the parallel formula is very simple
    Always
    sets the counter to the variable A "pippo1" *variable A "pippo2" *variable A "pippo3"
    just that I have one of these items to the value "0", the counter must be "0"

    my problem is when I do the parallel:
    it is enough that only one of these objects has a value = 1 to get on the counter value = "1"

    only when all three objects have as value = "0" to get the total counter value = 0

    This is the simple formula of the series of three objects
    1 * 0 * 1 = 0 ok

    1 * 1 * 1 = 1 ok


    I want to do this with "always"

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Alternative a this solution?
    Always, set counter to: (pippo1+pippo2+pippo3)/(pippo1+pippo2+pippo3)

    (1+0+0)/(1+0+0)=1

  3. #3
    Clicker Fusion 2.5Android Export Module
    salmjak's Avatar
    Join Date
    Feb 2014
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should not use division since the possibility is that you will get 0/0 = mathematical error.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot, work well :-)

Similar Threads

  1. Graphing a Line Problem (Math)
    By Kid_Roleplay in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 19th September 2012, 06:02 AM
  2. Calculating Angles (math problem I suspect)
    By cgmonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd September 2009, 09:16 AM
  3. Math Challenge - no actual problem
    By Verd0uX in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th June 2009, 04:36 PM
  4. Cos and Sin math problem (custom 8 direction)
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 2nd April 2009, 12:55 PM
  5. Quick math problem? Me being stupid i think!
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th June 2008, 12:55 PM

Posting Permissions

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