#.

1 messages ยท Page 1 of 1 (latest)

quick eagleBOT
#

<@&987246527741304832> please have a look, thanks.

quick eagleBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

Math.random is a function in many programming languages that generates a random number between 0 and 1. It is often used to introduce randomness in programs or games.

The function works by using an algorithm to generate a pseudo-random number. This means that the numbers generated are not truly random, but they appear to be random for most practical purposes.

The numbers generated by math.random follow a uniform distribution, which means that each number has an equal chance of being generated. This is why the numbers are spread evenly between 0 and 1.

When you mention "the things in the chart," I assume you are referring to the distribution of random numbers generated by math.random. If so, it's important to note that there is no specific chart associated with math.random as it generates individual random numbers each time it is called.

However, if you were referring to a specific chart or pattern related to the usage of math.random in a particular context, please provide more details so that I can assist you better.

shrewd vapor
#

basically you're just transforming the [0, 1) range to a different range

#

multiplication will make the range go from [0, 1) to [0, the number you are multiplying)

#

and adding/subtracting will shift the range, so if you add 1 you will make the range go from [0, 1) to [1, 2)

#

hope this helps

#

also for any number between 1 to 49 your code seems incorrect

shrewd vapor
#

Yes

quick eagleBOT
#

Closed the thread.

cyan wharf
#

.