Total reduce

PHOTO EMBED

Wed Mar 09 2022 03:31:38 GMT+0000 (Coordinated Universal Time)

Saved by @GodFather #javascript

var totalamountAlocation = filterAlocation.reduce(
    (a, b) => parseInt(a) + parseInt(b),
    0
);
content_copyCOPY