Skip to content

seedRandom

Int seedRandom(Int seed)

Math · package dmla.Math · stdlib builtin

Seeds the shared system random number generator used by the random operations.

Parameters

  • Int seed — The seed value used to initialize the shared random number generator.

Returns

Int — The seed used.

Examples

seedRandom(42);

See Also