Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RAND()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: RAND()
Divers
Thread ID:
00507518
Message ID:
00507765
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform