const data = datatable.reduce((acc, bill) => bill + acc);
the values of datatable are:
Normaly the result should: 3253,82
I don´t understand these 00000000006. Does anyone know this? That would be really great.
wow very unexpected… Never faced with such a problem in many different languages.
If I have understood correctly, the values must be multiplied by 10. Do you know is there also a workaround that works together with ‘reduce’?
I did a
for now. It works, but it is a quick an dirty solution