Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RAND() value range
Message
From
04/12/1998 14:44:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
RAND() value range
Miscellaneous
Thread ID:
00164229
Message ID:
00164229
Views:
64
VFP help says that RAND() returns a random number between 0 and 1.

I always thought that the allowable return value range included 0, but did not include 1 (although it could get as close as it wants to unity).

The help definition seems to include both 0 and 1 (inclusive), or exclude both 0 and 1 (exclusive). Do we have an unambiguous definition somewhere?

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform