frandom()
#1

I need to get a random float value - can someone help please?

For example I want to be able to do

frandom(2.0)

and get a float between 0 and 2.0, and I don't just mean 0.0 1.0 and 2.0, I mean ANY float, so like 2.4 and 0.4.

If possible I'd also like frandomex(Float:min, Float:max);

Thanks.
Reply


Messages In This Thread
frandom() - by MP2 - 11.06.2012, 04:36
Re: frandom() - by JhnzRep - 11.06.2012, 04:44
Re: frandom() - by Kitten - 11.06.2012, 04:46
Re: frandom() - by JhnzRep - 11.06.2012, 04:47
Re: frandom() - by Kitten - 11.06.2012, 04:48
Re: frandom() - by MP2 - 11.06.2012, 04:50
Re: frandom() - by JhnzRep - 11.06.2012, 04:51
Re: frandom() - by MP2 - 11.06.2012, 04:54
Re: frandom() - by Kitten - 11.06.2012, 05:07
Re: frandom() - by MP2 - 11.06.2012, 05:14

Forum Jump:


Users browsing this thread: 3 Guest(s)