I am developing a fast iPhone application, and there is a requirement that I always generate negative random numbers.
I know how to generate random numbers Method, but it doesn’t seem to have
I am developing a fast iPhone application, and there is a requirement that I always generate negative random numbers.
I know how to generate random numbers Method, but it doesn’t seem to have
I tried to use lua to generate a random number, but it just spit out the lowest value. For example, if I run:
x = math.random(17,41)
print(x) It returns:
17 what happened?
You c