Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00161563
Message ID:
00161680
Vues:
25
Perry,

Have you looked at the default settings (SET DECIMAL or Tools/Options)? Or maybe you could do something like
INT(CALCULATE .....)

Rick

>Rick,
>
>That's the exact reason why I use Calculate and Count. Plus I can set filters right in the statements. Here's something for ya: when I do my Calculate statement, the value passed to my variable has 2 decimal places by default. Can I eliminate these decimal places??
>
>Perry
>
>>Jason,
>>According to Hacker's Guide, CALCULATE SUM() and CALCULATE AVG() are about twice as fast as SUM and AVERAGE...That could be one reason for using it instead.
>>
>>Have a Happy Thanksgiving,
>>Rick
>>
>>>It should go top implicitly without you interfering. I am curious though why you chose this methodology?
>>>
>>>Regards
>>>
>>>JTryon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform