Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a consitent number based on a random
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00941102
Message ID:
00942163
Views:
27
>
>If you initialize the random seed to a known value, the RAND() function will then return the same values in the same sequence:
>
>RAND(5)
>? RAND() && 0.49
>? RAND() && 0.35
>? RAND() && 0.98
>
>
>RAND(5)
>? RAND() && 0.49
>? RAND() && 0.35
>? RAND() && 0.98

Thank you very much for your help!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform