Decimal representations of ratios