Correcting Negative Mixed Numbers

Hi, I am trying to correct a negative mixed number on my slide and can’t get the check mark.

Does anyone know what I need to change?

Backticks always work better than quotes for matching latex because the spaces are removed for latex (backticks) but not strings (quotes). Your original had no space so it was saying it’s wrong. (You used to need double slashes, now you only need one.)

correct:this.cellContent(1,2)= "YES😋"
cellContent(1,2):
when this.cellContent(1,1)=`-4\frac{1}{2}`  "YES😋"
 when this.cellContent(1,1)=`` ""
otherwise "❌"

1 Like