Use this script for the detailed total sum:
var TotalAmount = “”;
var Amount = “0”;
for(let i=0;i<record.tables.Parts.length;i++){
Amount = formatter.currencyNoSymbol(record.tables.Parts[i].fields.Amount);
TotalAmount += Amount;
}
results.html(TotalAmount);
Have 2 parts with the cost of $1085 and $1085
This gives med TotalAmount = 10851085 as a string.
What am I missing to get the script to calculate it, instead of handling it as a string ?