I've seen some other threads on this and the faq, but I can't seem to find the answer to this one.
I want to generate a random number (non-integer) between a negative number (such as -1) and a positive number (such as 1). So I want a random number of type double between -1 and 1, how do I do this? Appreciate it if someone could guide me or point me to some useful info. Thank you.