polyline.round([precision])

Round all coordinates of the polyline to the given precision.

Default precision is 0.

Modifies this polyline in-place, and returns it.