Hi I'm I really don't know how to add all the numbers when I get the jsonObjectArray I'm using _.map in lodash and angular for each for getting the data in jsonObjectArray
$scope.dataNumbers = _.map(result.numbers);
angular.forEach($scope.dataNumbers, function(value, key) {
console.log(value.allNumbers)
})
When I console this is the response (8.17, 32.01, 37.45).
I tried to add them like this Number(value.allNumbers) + Number(value.allNumbers)
but the result is (16.34, 64.02 , 74.9)
Sorry for the basic question