Hello, everyone
Math.floor(Math.random() * (max - min + 1)) + min
Can someone help me to know the meaning of (max - min +1)) + 1, like what does it mean to the formula?
Hello, everyone
Math.floor(Math.random() * (max - min + 1)) + min
Can someone help me to know the meaning of (max - min +1)) + 1, like what does it mean to the formula?
You title seems unrelated to the post? Can you provide a link to the Challenge you are working on and update your post title please?
I think it’s this one?
Did you read this page?
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.