ID:266604
 
can you make rand() do decimals like pick between 1.2, and 1.7? I can't seem to get itto work...
Not directly. But if you want a number between 1.2 and 1.7, you can do it like this:
rand(12, 17)/10

[Edit:] Also, if you want two decimal places:
rand(120, 170)/100

-AbyssDragon
In response to AbyssDragon
haha thanks sorry I was drawing a blank :)