CN - Fix divideWithRounding() function.