Rounds a number to the nearest integer, or to a specified number of decimal places.
When called with one argument, rounds to the nearest integer. With two arguments, rounds to the given number of decimal places. Negative digits round to the left of the decimal point.
Examples
round(1.5) → 2
round(3.14159, 2) → 3.14
round(1234, -2) → 1200.0