The random() function of math object returns random number between 0 and 1. Use it for example to get random number between 0 and 1.
Syntax