Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Quick Percentage Question
Quick Percentage Question
06-08-2006, 04:22 PM
#1
Rising_Dusk
GetRandomReal(0,100)
That's all inclusive right? Meaning it includes both bounds?
06-08-2006, 04:50 PM
#2
Meanie
I do not know if i understand you correctly but here is my answer...First...0 0,0001 0,0002 too 99,9999 100...Last
You are correct
06-08-2006, 06:26 PM
#3
blu_da_noob
GetRandomInt/Real are inclusive of upper and lower bounds.
06-08-2006, 08:19 PM
#4
Vexorian
Real is supposed to be inclusive although I would like to see anyone getting 100.000000000 or 0.000000000 in that GetRandomReal(0,100) such a low probability