line.round([precision])

Rounds the line to the given precision.

Default precision is 0.