FormCalc provides coding brevity and functions that are very good for calculating table row and column totals.
For example, to calculate a row total.
// form.page1.budget.costs.row[0].total::calculate - (FormCalc, client)
$.rawValue = beer + food + other
For example, to calculate a column total.
// form.page1.budget.totalCosts.totals.food::calculate - (FormCalc, client)
$.rawValue = sum(form.page1.budget.costs.row[*].food)
Steve