Function frand

  • Returns a random number from 0.0 to 1.0 This one is float. Use multiply (*) operator to get higher values. i.e. frand()*10 will return a value from 0.0 to 10.0

    Returns number

    a random floating point value from 0.0 to 1.0

Generated using TypeDoc