Using JavaScript how can I round a decimal number with several decimal places to a number with two decimal places with the lowest decimal number? Example:
44,97714285714286
To
44,97
I have already used the Math.floor
but this rounds to the lowest integer, where the value is 44
and other ways that did not work and when dealing with monetary values need precision.