Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00161563
Message ID:
00161680
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform