What's wrong with this code(decimals to fractions)?

Printable View