User Tag List

Results 1 to 3 of 3

Thread: Unable to use carets in calculations?

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unable to use carets in calculations?

    Hello there! I'm trying to make a sort of calculator for certain stats in another game, and have run into a problem. The formula is correct but MMF2D doesn't recognise the mathmatical symbol ^. My equation is:

    Code:
    50*(1-(1-(0.01/0.5))^((Edit Value( "Expertise" )/max(Edit Value( "Level" ),20))/0.8))
    I am certain that the caret is what's causing the problem, because if I replace it with a simple multiplication or division symbol, I get a 'valid expression' message when I 'check current expression'. Is there any way around this? Is there a substitute for the caret that MMF2D recognises?

    PS: Object "Expertise" and object "Level" refer to existing objects in my frame, editable Edit Boxes.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The caret is the problem. MMF2 uses "Pow" instead of the caret for exponents, for example (4+5) Pow 2 returns 81.

    Also, check your private messages.

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The three standards for exponentiation are x^y, x pow y, and pow(x,y). It's sort of hit and miss for which one they use, but you can try each of them if you ever use another software where carets don't work.

Similar Threads

  1. Help with calculations!
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th July 2013, 12:29 PM
  2. calculations via string
    By Skyhunter in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th November 2012, 07:31 PM
  3. Heavy calculations
    By King_Cool in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 25th July 2012, 01:39 AM
  4. mmf 2 is silt! - calculations per second
    By EasySite in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 7th August 2010, 03:32 AM
  5. Color calculations
    By ruffgang in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th April 2008, 03:52 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
  •