User Tag List

Results 1 to 3 of 3

Thread: Rounding a counter to 2 decmimal places

  1. #1
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rounding a counter to 2 decmimal places

    I've been trying to find a "simple" way to take a float number and round it off to 2 decimal places. I've gotten part way there, but there is a bug of some kind that I'm missing. Any help appreciated.

    I am taking the counter and rounding if off using the string parsar into counter 2.

    Steve
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

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

    Re: Rounding a counter to 2 decmimal places

    Try this:

    [color:#3333FF]Round( Value * 100 ) / 100.0[/color]

  3. #3
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rounding a counter to 2 decmimal places

    Thanks a lot. That works great and is really simple.
    Steve

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. Decimal Places
    By SharpS in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th December 2007, 01:06 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
  •