Solving inequalities with fractions or decimals