User Tag List

Results 1 to 6 of 6

Thread: Large values being changed? (Surds?)

  1. #1
    No Products Registered

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

    Large values being changed? (Surds?)

    Hi,


    How i can stop large values turning into surds? (5.23344e+006)

    If you create a very large value (involving decimals), then tell it to be displayed in a counter or similar it gets changed into the form- x.xxxxxe+00x - When i then applied this value in my game the decimal point didn't move, changing my value thats meant to be in the thousands to 10.xxx

    Is there any way i force MMF to keep it in right form?



    What I'm actually trying to do is add 2 numbers that are a bit like this-

    500000+0.8756334 ---> I only need it to 2 decimal places, infact, I'd rather if it was rounded to a couple of decimal places (or even 1 decimal place). But I DO NOT want MMF to round it, and I dont want MMF to change it into that crazy form above

    Can anyone help?

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Large values being changed? (Surds?)

    You might need MMF2 Developer and the Double-Precision Calculator extension if you want to work with such large numbers.

  3. #3
    No Products Registered

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

    Re: Large values being changed? (Surds?)

    Hmmmm... Well I dont actually need the large number in the end, I only need it to add 2 large numbers, then round them to 2 decimal places or so produce the end result. Is this not possible with MMF2 standard?

    My calculator can do that... I'm surprised that MMF2 cant

  4. #4
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Large values being changed? (Surds?)

    I'm sure if you uploaded an example somebody will help. If precision isn't a big worry for you and your numbers aren't *that* massive it should be fine.

  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: Large values being changed? (Surds?)

    It's not surds, it's scientific notation.

    5.23344e+006 == 5.23344 x 10^6 == 5,233,440

    The number is intact, MMF just doesn't want to display it in full.
    EDIT: Your calculator will do this too, but generally only for numbers above 10 digits unless you specifically tell it to.
    EDIT2: Surds are numbers left in square-root form, either because they can't be resolved (sqrt(-1) or sqrt(a) with a unknown) or just for clarity.

  6. #6
    No Products Registered

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

    Re: Large values being changed? (Surds?)

    Thanks for clearing that up Dynasoft.

    I did think that it was that MMF didnt want to display it, but can i force it to display it?

Similar Threads

  1. Invisible strings can't be changed
    By DavidN in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 7th July 2010, 03:09 PM
  2. Interface changed
    By Game_Master in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 3rd June 2010, 08:28 PM
  3. Selection Has Been changed
    By Jacob in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th January 2010, 03:59 AM
  4. mouse changed into a hand
    By gamedreamerjjg in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 27th February 2009, 05:18 PM
  5. Can the Installer icon be changed?
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th January 2007, 04:23 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
  •