Calculating with fractions

Thank you very much. It worked, but last time i tried this i didn´t had to write 1.0