Jump to content

% total of columns


gardan06

Recommended Posts

I want my table to view percentages. Here's how:

 

Name        Qty              Pct Qty

John                  10                10%

...

Kerry                2                    2%

__________________________________

                        100                100%

I want "Pct Qty" to automatically compute the percent of the "Qty" by the formula (qty/total qty)*100.

 

is it possible ?

 

thanks.

Link to comment
https://forums.phpfreaks.com/topic/95566-total-of-columns/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.