https://medium.com/coding-in-simple-english/how-to-round-to-a-certain-number-of-decimal-places-in-javascript-ed74c471c1b8