User Tag List

Results 1 to 5 of 5

Thread: Decimal Places

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Jun 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Decimal Places

    Hello, my friend and I are making an entry for the Chrismas Competition, and would like to disable the decimal places. How do you manage this? (For example, 9*0.45 will come up with 4.05 or what ever), is there any way of making it a whole number in the demo version of MMF2?

    Thanks.

  2. #2
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Decimal Places

    There are the Floor() and Ceil() Functions which round up or down. I hope that helps.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Decimal Places

    Yeah, simply put the calculation inside Round()

    Like this: Round(9*0.45)


    Edit: Beaten by Brandon, but you forgot the most important one

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Decimal Places

    I never use the round function, but thanks for pointing that out.

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Jun 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Decimal Places

    Thanks!

Similar Threads

  1. Decimal places?
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd October 2011, 08:07 PM
  2. How to use copys of an active in different places
    By Brooks2000 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th July 2011, 06:52 PM
  3. Where has the extension DL places gone?
    By Tiny in forum Extension Development
    Replies: 4
    Last Post: 29th June 2011, 05:10 PM
  4. Setting decimal places on a counter
    By maestro1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th April 2008, 06:13 AM
  5. Problems With Significant Digits / Decimal Places
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 2nd January 2008, 09:25 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
  •