Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re: Random number between -1 and 1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01387386
Message ID:
01387449
Vues:
57
Joe,

Every random number generator I've ever worked with will not output 1.0, they can output 0.0. But the wording in help using "between" doesn't absolutely tell you whether or not the endpoints are included.

>So is the return value of RAND()...
0 < x < 1
or
0 < = x < = 1
...? According to help it is
0 < x < 1
.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform