Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little confused with RAND()
Message
 
 
À
01/04/2009 08:18:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01392453
Message ID:
01392540
Vues:
69
>>Hi,
>>
>>Here is an example and the results with question inline:
>>
>>
>>SET DECIMALS TO 6
>>ldBaseDate = {^1900-01-01}
>>ldCurrDate = DATE()
>>RAND(ldCurrDate - ldBaseDate)
>I see you've solved your original problem. I'm just wondering why you're seeing RAND() this way. Is there some reason RAND(-1) won't work for you?
>
Hi Tamar,

Based on Dmitry's previous post Thread #1387096, he doesn't want random number but rather something that looks like random number but based on a date.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform