Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
15 lines (9 loc) · 549 Bytes

File metadata and controls

15 lines (9 loc) · 549 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Random

Returns a floating-point, pseudo-random number in the range [0, 1); that is, from 0 (inclusive) up to but not including 1 (exclusive), which you can then scale to your desired range. The implementation selects the initial seed to the random number generation algorithm; it cannot be chosen or reset by the user.

Math.random()

Returns

  • a floating-point, pseudo-random number between 0 (inclusive) and 1 (exclusive).

See Also

||math:pick random||

Morty Proxy This is a proxified and sanitized view of the page, visit original site.