This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

math.random() allways retuns 0.7942
#1
Hi, 

I noticed that when I use the math.random() with out arguments returns allways the same value, if arguments are used return the maximun.

example: 

log(math.random())


returns:

* number: 0.794206292431241

what I am doing wrong?

Thanks!!
Reply


Messages In This Thread
math.random() allways retuns 0.7942 - by kike - 03.02.2023, 11:31

Forum Jump: