User Tag List

Results 1 to 5 of 5

Thread: Quick math problem? Me being stupid i think!

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Quick math problem? Me being stupid i think!

    Ok, im trying to do a conversion? and the conversions is....

    1 = 0.001

    so.... how do i go about doing that in mmf2? Ive confused myself?

    CheeRS
    Andy

  2. #2
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Quick math problem? Me being stupid i think!

    /1000 should do it.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Quick math problem? Me being stupid i think!

    thats what i thought... returns 0 tho.
    Andy

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on

    Join Date
    Jul 2006
    Posts
    1,017
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Quick math problem? Me being stupid i think!

    Basics of MMF...

    Use this: 1 / 1000.0

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Quick math problem? Me being stupid i think!

    An explanation:
    In MMF you need to use decimals (so ".0") to force a decimal answer. If you only put integers (whole numbers with no decimal point) in, that's what you'll get out.

    This is actually pretty common in lower level languages because integers are much faster to calculate with. In MMF you probably wouldn't notice the speed difference because of the overhead of the expression interpreter.

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. Possibly a stupid problem..
    By Picherity in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 11th April 2012, 10:41 PM
  3. a stupid problem
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th April 2009, 11:47 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 question
    By LaraSoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 26th December 2007, 10:16 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
  •