Kindly check my code where I am wrong. add(+) function is not working for me. instead of adding, it concatenates. ex: 2 + 2 = 22 it should be 2 + 2 = 4
CalculateQty(i){
let total = this.assetRevaluationForm.get('ItemRec') as FormArray;
let formGroup = total.controls[i] as FormGroup;
formGroup
.get('NewDep')
.patchValue(formGroup.get ('netBookValue').value + formGroup.get('revaluedAmount').value);
}