Skip to content
ricardoboss edited this page Sep 13, 2023 · 1 revision

Description

The seed function initializes the random number generator.

Syntax

seed(number seed)
  • seed is the seed value to use. It must be an integer.

Remarks

  • the seed value is used to initialize the random number generator (see random)

Examples

seed(123456789)
println(random()) // 0.5083497583439339