Checking currency amount


I am trying to code a question which has a money answer of £197.40 but it is returning an incorrect answer. I’ve also tried checking the input as latex instal of numerical and it doesn’t work, I’d be grateful for some help

this is my code:


initialLatex: "£"  
check5=when ans5.numericValue=197.40 1 otherwise 0

correct: check5=1

I’m not sure there have been any developments since you last asked about this, I’m afraid.

1 Like