Finding fractions of a number