Fixed the decimal places for bug #8366.