That's good now.
(just the 8 decimal digits to formating)
Thank you :-).
Had to replace the function I was originally using for that with something else. The built in Math.Round doesn't work for decimals, and Number.toFixed(n).
So I used _.round(number, precision) from the Lodash library. Amazing library, highly recommended!