User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: I have a problem with decimal numbers

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    I have a problem with decimal numbers

    hi, I must have from a number similar to this:

    145,235 I must visualize this: 145

    Another example:

    1,98 I must visualize this: 1

    I must draw from numbers with comma, an integer Number

    THX end sorry for my bad english







  2. #2
    No Products Registered

    Join Date
    Jan 2009
    Location
    Usa
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I have a problem with decimal numbers

    are the commas decimals?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: I have a problem with decimal numbers

    I must only have the number before the comma

    13,46 is the number that I have found from a expression, but I must only have in a counter the number 13 not 13,46

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: I have a problem with decimal numbers

    Try the String Tokenizer extension.

    Action: Split string "1,98" with delimiters ","

    Then use the expression Val(Element$("String tokenizer",0)) to get the number 1.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I have a problem with decimal numbers

    It's unclear whether you're saying the numbers are stored as strings or numbers - if they're strings then Jamie's way will work, if they're just numbers then you can use the Floor(number goes here) function in the expression editor to display only the part before the decimal point/comma.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: I have a problem with decimal numbers

    I have put the files inside the directory, but he is not inserted inside with the other extensions. Is the file compatible with MMF2? I have never had problems to install the extenzionis but this String tokenizer it is not present in the list of the objects.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: I have a problem with decimal numbers

    You must be doing something wrong, it has to show up when you put the MFX file in \Extensions into MMF2\Extensions (Don't forget the other files in the corresponding directories though)!

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: I have a problem with decimal numbers

    I have insert this file in this directory
    StringTokenizer.mfx in DATA/RUNTIME
    end this file StringTokenizer.mfx inside dir EXTENSION butin sot present in object list

  9. #9
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I have a problem with decimal numbers

    If there are two, put the smaller one in data/runtime, and the larger in extensions. If you get it backwards the extension just won't show up.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: I have a problem with decimal numbers

    I have done well everything and I have inserted the files in the correct directories...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. BUG (Beta 257.17) Decimal numbers not calculating correctly
    By mobichan in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 29th April 2013, 01:02 PM
  2. Decimal numbers in Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st January 2012, 04:05 PM
  3. question about decimal numbers
    By Attus in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 16th October 2008, 07:43 AM
  4. Decimal numbers
    By Muz in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 25th February 2008, 04:58 PM
  5. Storing Decimal Numbers as Alterable Values
    By Raphael in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 21st September 2006, 01:17 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
  •