rect.round([precision])

Rounds the rectangle to the given precision.