Random float.
#6

Quote:
Originally Posted by Baltimore
Посмотреть сообщение
Hello !

How to make a random float?

Between 0.50 and 2.15 for example.

++
Код:
new Float:randomfloat = random(215 - 50) / 100.0  +  0.5;
Reply


Messages In This Thread
Random float. - by Baltimore - 08.02.2015, 15:17
Re: Random float. - by Sascha - 08.02.2015, 15:19
Re : Re: Random float. - by Baltimore - 08.02.2015, 15:24
Re: Random float. - by HazardouS - 08.02.2015, 15:26
Re: Random float. - by Sascha - 08.02.2015, 15:29
Re: Random float. - by vinigas - 08.02.2015, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)