MT#8387 Fix incorrect rounding for cents.

(cherry picked from commit e00f0182694dc7b3ab01127805e40cb715c1f7ae)