toFixed() Method
toFixed() method rounds a number to given number of digits.