We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d480df9 + 3ea1e9e commit 24ead01Copy full SHA for 24ead01
1-js/05-data-types/02-number/8-random-min-max/solution.md
@@ -2,7 +2,7 @@ We need to "map" all values from the interval 0..1 into values from `min` to `ma
2
3
That can be done in two stages:
4
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`.
+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`.
6
2. Now if we add `min`, the possible interval becomes from `min` to `max`.
7
8
The function:
0 commit comments