It generates between 1.00 and 100.00. So no, 0.00 and 0.99 can never happen.but does GetRandomReal(1,100) generetes 0.00 to 0.99?
but does GetRandomReal(1,100) generetes 0.00 to 0.99?
You can map the results of GetRandomInt to your range. Ex: GetRandomInt(0, 100) / 100.0
I2R(GetRandomInt(0, 100)) / 100.0
for consistency.random <= 1 is around 100/10000 = 1/100
Do you even understand what you are trying to achieve?so basically i guess the question is..whats the binary counterpart of "1" and how many binary reals are there (1,100)
if GetRandomReal(0,100) < 1. then
Yes, the chance for (GetRandomReal(1.,100.) <= 1.01) to be true is much much less than 1%.so this is false?
Do you want to make some percentage chance calculation out of my answer or what do you want actually?so basically i guess the question is..whats the binary counterpart of "1" and how many binary reals are there (1,100)