Skip to main content

Random.float

Random.floatminmax

Group: Random

Documentation

Return a random Float in the specified range.

Arguments

  • min: The minimum value of the range to pick from (inclusive).
  • max: The maximum value of the range to pick from (exclusive).

Examples

Generate a float between 2.3 and 3.4.

       import Standard.Base.Random.Random

i = Random.float 2.3 3.4