Hello

Congrats for your nice training system. With all due respect, I think that the correct formula should be *return Math.floor(Math.random()*(myMax-myMin)) + myMin;*, i.e. the “+1” leads to a value outside the range between myMin and myMax.

Kind regards.

Christian

```
**Your code so far**
```

```
function randomRange(myMin, myMax) {
// Only change code below this line
return Math.floor(Math.random()*(myMax-myMin+1)) + myMin;
// Only change code above this line
}
```

```
**Your browser information:**
```

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36`

**Challenge:** Generate Random Whole Numbers within a Range

**Link to the challenge:**