Compare decimals and fractions