Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random Number
Message
From
27/11/2001 10:08:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00585489
Message ID:
00586304
Views:
29
>Is this ok with you? :)

Very nearly - use round() rather than rand() as the outer function <g>
lnRandMin = 1
>lnRandMax = 1000
>
>? RAND((lnRandMax - lnRandMin) * RAND( ) + lnRandMin,0)
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform