how to round 3 decimal places in MATH.round() code example Example: round number 2 decimals javascript Math.round((num + Number.EPSILON) * 100) / 100