line.round([precision])

Round all coordinates of the line to the given precision.

Default precision is 0.

Modifies this line in-place, and returns it.