Skip to main content

xrand

xrand(
@a 1
@b null
) -> float

Seed-based random floating point number generator. See setseed.


Arguments

  • @a [int/float]: Max. value if @b is null, else min. value. (default: 1).
  • @b [int/float/null]: Max. value. (default: null).

Output

Random number [float]