Function rand

Generates a random number between two values.

  • Parameters

    • a: number = 1

      The lower bound.

    • b: number = 0

      The upper bound.

    Returns number

    The random number generated.