Math.round

Gives random number 0-1 , but you can multiply for more!