newbalance = (Number(this.balance)) + (Number(this.pastAmount));
The result for my newbalance
calculation is coming back as undefined, even though this.balance
is 34 and this.pastAmount
is 23.
I've set this up in the controller and I'm trying to display the value of newbalance
using an expression in the HTML.