Given `array` of `object` in database:

```
detail : [ 
       0: {
            Code: "Code 1",
            Price: "1.00",
            IncTaxPrice: "1.20",
            Tax:"0.20",

          },           

       1: {
            Code: "Code 2",
            Price: "9.00",
            IncTaxPrice: "9.20",
            Tax:"0.20",

          }
]

```

Output i want with key and value negative (for eg)

```
[
  {
    Code: "Code 1",
    Price: "-1.00",
    IncTaxPrice: "-1.20",
    Tax: "-0.20",
  },
  {
    Code: "Code 2",
    Price: "-9.00",
    IncTaxPrice: "-9.20",
    Tax: "-0.20",
  },
];

```

I tried with the `map`, filter `function` but it gave an error I guess I am missing something.
After it filters properly I will use `-Math.abs()`, to convert `positive` to `negative`.

```
let final = detail.map(a => Object.values(a).filter(v => typeof v === 'number'))

```

the element like `price`,`tax` are something like 8 different `elements` of `numbers` and `amounts`.