SQL-Injectors / ExpenseTracker

0 stars 0 forks source link

Math Function: Running balance of cumulative expense #27

Open artawood opened 6 years ago

artawood commented 6 years ago

create a function that retrieves amounts from the table in order, and starting from the first recorded amount, the next cumulative amount is added from the previous amount to get the new total for the second recorded amount.

note: use forEach to iteration amount values from amount properties