Md Ghouse

Md Ghouse

  • NA
  • 63
  • 12k

How to count Sum

Sep 21 2016 5:45 AM
 In my Project im using AASp.mvc with Angularjs 
Here im adding Columns into Table when columns added into table how it counts total Here im showing table columns
 -----------------------------------------------------------------------
ID      Name            Price            Quentity         Amount
1         Rice            10                     10               100
2         Dal               5                       10               50
3         Colgate      15                        1                15
4         Biscute        10                        1               10
---------------------------------------------------------------------- 
Total Items->4                                    Amount  175
---------------------------------------------------------------------------
 
How to Write code for caluculatibg Amount & TotalItems  it should be Generate automatically means when user click on add then item add within the tab & calculte the amt 

Answers (3)