round rounds a number to the specified number of decimal places.
round
See also: floor, ceil
round(pi, 2) // returns 3.14 round(12345, -3) // returns 12000