Checking a repeating decimal with bar notation

What is the equivalent decimal to 8/11?
Answer: 0.\overline{72}

In other words, 0.72 with a bar over the 72.

I know how to get the students to type that in a free response box. But I don’t know how to check their answer in there.

I don’t know how to get a student to type the correct answer with the bar notation in a math response box.

Any advice would be great. Thank you.

Hello there @Jennifer_Knarr!

You can simply just do:
check = (this.latex = "0.\overline{72}")
correct: check
You can substitute this with whatever your mathbox is called, or just keep it.
To see this in action:
click here

EDIT: (I think you shouldn’t use a free response box, use mathbox)
If you use the response box, though try this (I don’t know how to get the string to be a latex, you can ask professionals for this, but it’s close):

(inside a note):

c = responseBox.content
isCorrectValue = when c = "0.\overline{72}" false otherwise TRUE
hidden: isCorrectValue

Thank you. That works in the math box as long as the student opens the keypad and chooses the line over AB on the Geometry tab. Is there a faster way for a student to type in 0.72 with a bar over the 72?

Your welcome! Happy I helped out. As of what I know, no, there is no custom keybind that allows the repeating symbol to be typed faster.