Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Percentage in total line
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00320790
Message ID:
00321088
Views:
21
Ed,

You're right, I just copied Francis' formula for percentage. The formula should be
round(((SumX-SumY)/SumX)*100,2)
or, even better
iif(SumX = 0, 0.00, round(((SumX-SumY)/SumX)*100,2))
Cheers,

Andrew

>
>I'm clearly missing something. Why is (X-Y)-X) not just -Y?


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform