User Tag List

Results 1 to 3 of 3

Thread: Display float from ini file (Ini++)

  1. #1
    Clicker Fusion 2.5 DeveloperMac Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Display float from ini file (Ini++)

    I'm having a problem with floats not being retrieved from ini files.

    The float value is saved correctly, I can see it if I output the ini as text. But whenever I try to output the specific value it doesn't display the decimals.

    #1 Set value in ini http://www.solgryn.org/screenshots/FvCvdv3p.png
    #2 Retrieve value from ini http://www.solgryn.org/screenshots/1cowwB3o.png
    #3 It's displayed as just "25" and not "25.342"

    Am I doing something wrong here?

  2. #2
    No Products Registered

    Join Date
    Dec 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you tried experimenting and change decimal char to , and try to read?
    I remember that ini object can read flat values well, maybe you can use these extension together to avoid this problem?

  3. #3
    Clicker Fusion 2.5 DeveloperMac Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay apparantly reading it as a string and then making that into a value works. Awkward workaround but I'll take it I guess..

    Edit: but doing that only allows for decimals as long as the number has less than 6 digits. If it has 5 digits, it has 1 decimal. 4 digits has 2 decimals and so on :/ Because of the use of val() and str$() functions I guess..

Similar Threads

  1. Display external image file that on the memory loaded by the binary object
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th July 2012, 07:42 AM
  2. downloading File /Display Size /Help !
    By Johnny in forum File Archive
    Replies: 17
    Last Post: 19th January 2010, 01:46 AM
  3. Replies: 8
    Last Post: 25th September 2009, 12:04 AM
  4. Display an audio file's waveform (?)
    By n89 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th March 2008, 05:38 AM
  5. Combo box display file name from folder + Load It
    By GameDesigner in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 17th August 2007, 08:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •