Scratch for Java

Random::randomSeed()

Sets the seed for the random method.

Syntax

Java

.randomSeed(seed)

Scratch

random seed ()

Parameters

Name Data Type Description
seed long A seed

Return

double

randomSeed()