Robert Dufton / Publications
Forum
Why does MathRand keep rounding?
I have a variable... Double randomnumber1 = MathRand()/32600; But randomnumber1 keeps coming back as 0.0 even though MathRand is choosing random numbers between 0 and 32600!! I just want a decimal number between 0 and 1. JEEEEESUS. I've spent so long on trying to get this one line to work. How is it