User Tag List

Results 1 to 5 of 5

Thread: Saving decimals in ini

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)

    Join Date
    Sep 2007
    Location
    Austria
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Saving decimals in ini

    I set my app's version number to 1.3, call it global value U and save it as an ini item.

    It does not work as only 1 is saved...when loading the ini item it is only 1 but not 1.3.

    Can't decimals be saved in an ini?

  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: Saving decimals in ini

    Save them as strings and not values in the INI

    Then just convert them as needed back into values.

  3. #3
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)

    Join Date
    Sep 2007
    Location
    Austria
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Saving decimals in ini

    Thanks but how can I convert them?


  4. #4
    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: Saving decimals in ini

    str$() and val() convert items in the expression editor

  5. #5
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)

    Join Date
    Sep 2007
    Location
    Austria
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Saving decimals in ini

    Now it worked, thanks.

Similar Threads

  1. Removing decimals
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd March 2012, 08:11 PM
  2. Not handling decimals...
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th December 2008, 06:51 PM
  3. Don't want decimals.
    By Cossin in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th October 2008, 06:42 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
  •