Troubleshooting

AngularJS addition not working

If you are developing an app that calculates multiple numeric values using addition, you may run into a problem where the values are concatenating instead of adding. To get around this, separate your values into parentheses and multiply those values by 1 to cause the filter to be recognised as part of a formula.

{{ (Property.Field1 * 1) + (Property.Field2 * 1) }}
Related Articles