toFixed()
method rounds the string to a specified number of decimals (returns a string)
let numbr = 123.123456 console.log(numbr.toFixed(3)// 123.123
Math.round()
method rounds a number to the nearest integer
let a = 2.4 console.log(Math.round(a)//2
Math.sqrt()
returns the square root of a number
let a = Math.sqrt(25)//5
Math.floor()
this method rounds a number DOWN to the nearest integer
let a = Math.floor(25.90)//25
join()
array.join(separator)