One of the features we recently added to the FormConnect Pro version was the ability to perform field calculations. An invoice form is a perfect example of how to utilize this feature. It includes row totals (quantity x price), column totals and tax computation.
Note: FormConnect Pro is an In-App purchase upgrade.