User Tag List

Results 1 to 3 of 3

Thread: How to get Decimal Random Number

  1. #1
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to get Decimal Random Number

    I need to get a random decimal number between 0 and 1. How to do it in MMF.

    Thanks

  2. #2
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think the answer is this 0.1 + Random(100) / 100.0. But even though it gives me decimals from .01 to 1, why does it give me numbers above 1. I am getting anything from 1.01 to 1.08.

  3. #3
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oops, I did .01 instead of 0.0. Its working now.

Similar Threads

  1. How to get a decimal in a number (string)
    By Outcast in forum Fusion 2.5
    Replies: 2
    Last Post: 21st September 2015, 05:19 PM
  2. Convert hexadecimal to decimal number
    By StingRay in forum Fusion 2.5
    Replies: 4
    Last Post: 9th September 2014, 04:31 PM
  3. Rounding a decimal number?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th May 2012, 11:48 AM
  4. How to display a decimal number on screen?
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 16th July 2008, 11:37 AM
  5. Decimal Number bug
    By Cocodrilo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th April 2008, 12:48 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
  •