Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How good is Rand()?
Message
From
24/01/2008 09:16:37
 
 
To
24/01/2008 08:46:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01284415
Message ID:
01284961
Views:
13
>>It is worth testing again, since they did change the code since VFP 3. Originally, RAND() returned neither 0 nor 1, which was a problem. In VFP 5, they modified it so that it returns 1, but not 0.
>>
>>Tamar
>
>Shouldn't that be the other way round? - i.e., 0 <= x < 1

Yep, misread the paragraph in HackFox when I was writing that.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform