fractionPlaces to work with fractions correctly