Representing fractions and decimals