Round each element in an array to the nearest integer.
> round([1.2, 2.5, 3.7])[1, 3, 4] Copy
> round([1.2, 2.5, 3.7])[1, 3, 4]
The array of numbers.
An array with each input element rounded to the nearest integer.
Round each element in an array to the nearest integer.
Example