# Correcting Numerical value

I am trying to find a way to make this so that it marks the exit ticket as right or wrong for the type math questions. This is all I’ve got. If you can help wit 1 I can adapt the code for the others. I attached my latest attempt. PLEASE HELP ME!!!
https://teacher.desmos.com/activitybuilder/custom/5fce80c13f9a040dae70c9c7

Something like this should work if the answer is pi/3. You can adjust the tolerance to be more precise if you’d like.

answer = numericValue("\pi/3")

correct: numericValue("${this.numericValue}-${answer}")<=0.01


The student could also type in 1.04 and still be correct, so if you want, you could also add this to the correct statement:

countNumberUsage(this.latex, 3)=1