Added rounding mode to setScale