User Tag List

Results 1 to 3 of 3

Thread: Don't want decimals.

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Don't want decimals.

    Is there a way so that I can set a counter to not display decimals(only integers)but have another counter still calculate decimals?

    I'm using a damage formula that calculates random values, but I don't want the display damage to display decimals.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Don't want decimals.

    Just round it with Floor() (rounds down), Ceil() (rounds up), or Round() (rounds to the nearest whole number).

  3. #3
    No Products Registered

    Join Date
    Jul 2008
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Don't want decimals.

    Quote Originally Posted by Jamie
    Just round it with Floor() (rounds down), Ceil() (rounds up), or Round() (rounds to the nearest whole number).
    Worked perfectly, Thank you Jamie.

Similar Threads

  1. MMF2 and Decimals
    By VAH in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th January 2011, 11:42 PM
  2. Strings and decimals
    By Steven in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th August 2010, 08:22 AM
  3. Saving decimals in ini
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 19th November 2009, 03:47 PM
  4. Decimals In x and Y pos?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th December 2007, 12:36 PM
  5. Decimals
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 31
    Last Post: 20th July 2006, 01:31 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
  •