Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RAND()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: RAND()
Miscellaneous
Thread ID:
00507518
Message ID:
00507765
Views:
11
>Hello people, is possible generate random numbers between max and min values?
>
>Best Regards
>
Francisco,

Try this
= RAND(-1)
lnMin = 15
lnMax = 40
? INT((lnMax - lnMin + 1) * RAND() + lnMin)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform