Fractions in CL

How can i add a fraction in my computation layer to let students know if their answer is right or wrong.

This is the problem and if the answers were whole this is the coding I would have used, but I cant seem to get it to work for fractions.

Any suggestions?

try

Maybe this thread will help: