User Tag List

Results 1 to 4 of 4

Thread: Simple calculation not showing

  1. #1
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)

    Simple calculation not showing

    I am trying to set this for a counter

    Set Counter 2 to ( 100 / 263 ) * value( "Counter" )
    But it shows 0 instead of 24.12 in this case.

    I remember reading somewhere, that i had to do something special in order to get the value to show, or am i wrong?

    Even tried to put it into a Global Var without any luck,

    even 100 / 263 results in 0 and it should have been 0.38

  2. #2
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you use integer values then you will get integer result so you need to use minimum one float value to get float result. Try this: 100/263.0

  3. #3
    Clicker Fusion 2.5
    Bertard's Avatar
    Join Date
    Jan 2014
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah you have to had .0

    If you don't write him fusion does'nt read decimal

  4. #4
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    Thanks people. That .0 keeps Messing me up. 😑

Similar Threads

  1. How to do this calculation?
    By fishrod in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th April 2014, 10:01 PM
  2. Help with angle calculation!
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 29th August 2013, 12:15 PM
  3. What kind of color codes are being use when I enter simple number in Calculation?
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th June 2013, 12:47 PM
  4. calculation help
    By aylictal in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st May 2013, 02:45 PM
  5. Angle calculation bug?
    By Fanotherpg in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 23rd April 2012, 09:38 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
  •