Fixed rounding support to respect precision.

Add support for arbitrary precision when rounding by passing thru an optional argument.