Improved toString method to display fractions which are /1 as whole numbers