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

Sign up
Appearance settings

Commit 3ea1e9e

Browse files
typo
1 parent f2e27fd commit 3ea1e9e

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/02-number/8-random-min-max

1 file changed

+1
-1
lines changed

‎1-js/05-data-types/02-number/8-random-min-max/solution.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ We need to "map" all values from the interval 0..1 into values from `min` to `ma
22

33
That can be done in two stages:
44

5-
1. If we multiply a random number from 0..1 by `max-min`, then it the interval of possible values increases `0..1` to `0..max-min`.
5+
1. If we multiply a random number from 0..1 by `max-min`, then the interval of possible values increases `0..1` to `0..max-min`.
66
2. Now if we add `min`, the possible interval becomes from `min` to `max`.
77

88
The function:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /