How to write a fraction as a decimal