rect.round([precision])

Round all coordinates of the rectangle to the given precision.

Default precision is 0.

Modifies this rectangle in-place, and returns it.